Page 1 of 1

Code Bounty: Var Editable Timestop

Posted: Wed Sep 25, 2019 9:25 am
by Arianya
Putting up a £10 GBP/$12 USD/$16 CAD (claimer's preference via paypal or steam game equivalent) code bounty to modify the timestop spell to be var editable.

Currently, the timestop spell is hard coded to be a 3x3, and the duration is similarly hard coded to be 5 seconds. I would like this changed, so that the spell can be modified by var-editing to allow modifications by admins/people with varedit.

The Core Spec:

The timestop spell must be modified to be var-editable on area of effect (range) and duration. The functional effect of the Timestop spell as given to a wizard by his spellbook must be the same as before changes. This is to ensure the codebase has a high chance to want to merge the changes. If there are unforeseen code spaghetti reasons that make this clause unreasonable then it will be waived.

Optional:

The clock graphical effect that is summoned when timestop is cast should probably remain at it's current size regardless of actual range. I have no strong preference for this but it'd be nice.

Break Clause

If in the process of PRing the change, the codebase makes reasonable requests for changes, and in my opinion those changes are unreasonably refused or delayed by you, compromising the change's ability to be merged, then only half of the bounty (base and any bonuses from stretch goals) will be payable. To reassure, this will only be called upon if you're like, goof levels of un-cooperative.

Might post some stretch goals with extra bounty later.

Re: Code Bounty: Var Editable Timestop

Posted: Wed Sep 25, 2019 5:44 pm
by XDTM
Can do, should be quick

Re: Code Bounty: Var Editable Timestop

Posted: Wed Sep 25, 2019 6:38 pm
by XDTM
As a bonus I also made it so it visually freezes affected turfs and machinery, although mechanically the only effect is that it prevents them from being dragged. As well as obscuring light fixtures, because apparently it behaves as if they were sprayed on due to the atom color change.

Let me know if you don't want this part, or if there are any further changes that could be added

Re: Code Bounty: Var Editable Timestop

Posted: Wed Sep 25, 2019 7:07 pm
by Arianya
XDTM wrote:As a bonus I also made it so it visually freezes affected turfs and machinery, although mechanically the only effect is that it prevents them from being dragged. As well as obscuring light fixtures, because apparently it behaves as if they were sprayed on due to the atom color change.

Let me know if you don't want this part, or if there are any further changes that could be added
Quick work!

I do like the visual freeze for turfs and machinery, though I worry the light change would make it a bit odd? A screenshot would be appreciated.

Re: Code Bounty: Var Editable Timestop

Posted: Wed Sep 25, 2019 7:19 pm
by XDTM
As you can see, the corner of the room is visibly darker; with very wide range timestop this can result in total blackouts (minus other light sources) so i'm considering blacklisting light fixtures as a simple solution, since it doesn't look great.
timepic.PNG

Re: Code Bounty: Var Editable Timestop

Posted: Wed Sep 25, 2019 7:33 pm
by XDTM
Blacklisted lights, here's a wide-range timestop.
timepic2.PNG

Re: Code Bounty: Var Editable Timestop

Posted: Wed Sep 25, 2019 8:26 pm
by Arianya
That looks ace, so it's fine by me to keep.

Obviously oranges/maintainers might not like the effect, so if they express disapproval it's fine to PR it without.

Re: Code Bounty: Var Editable Timestop

Posted: Fri Oct 04, 2019 9:58 pm
by Arianya
Bounty belatedly paid!