# Adding prestige/second?

**URL:** <https://forums.moddingtree.com/t/adding-prestige-second/1736>\
**Category:** Modding Developers\
**Created:** [April 16, 2025, 2:46am UTC](https://forums.moddingtree.com/t/adding-prestige-second/1736 "2025-04-16T02:46:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![caasi111](https://forums.moddingtree.com/user_avatar/forums.moddingtree.com/caasi111/32/1127_2.png) [@caasi111](https://forums.moddingtree.com/u/caasi111)\
**Post date:** [April 16, 2025, 2:46am UTC](https://forums.moddingtree.com/t/adding-prestige-second/1736/1 "2025-04-16T02:46:38Z")

</div>

i want to have an upgrade, where, when bought, will give you 1% of your potential prestige gain (the number the big reset button says) per second. how do i do this? sorry, i’m really new to all things tmt and i couldn’t find anything about this in the docs. thanks!

---

<div class="post-metadata">

**Author:** ![Ulises\_Roguin](https://forums.moddingtree.com/user_avatar/forums.moddingtree.com/ulises_roguin/32/1140_2.png) [@Ulises\_Roguin](https://forums.moddingtree.com/u/Ulises_Roguin)\
**Post date:** [June 13, 2025, 5:05pm UTC](https://forums.moddingtree.com/t/adding-prestige-second/1736/2 "2025-06-13T17:05:52Z")

</div>

```auto
passiveGeneration(){
let passive = new Decimal(0)
if (hasUpgrade([uograde layer], [upgrade id])) passive = passive.add(0.01)
return passive
},

```
