summaryrefslogtreecommitdiff
path: root/npc/functions
AgeCommit message (Collapse)AuthorFilesLines
2019-08-29Remove GM ResetJesusaves1-12/+0
2019-08-29Merge branch 'master' into testserverJesusaves10-22/+261
Conflicts solved with -X theirs
2019-08-27Soul Menhir - When touching with autosave enabled, update LOCATION$ againJesusaves1-0/+1
2019-08-27Crafting Score new ruleJesusaves1-0/+2
2019-08-27Town Administrator income is deducted from town resourcesJesusaves1-0/+6
2019-08-26Wurtzite, Graphene and Arcanum. This breaks refinery.Jesusaves1-6/+7
2019-08-26Status reset without result will not be chargedJesusaves1-2/+3
2019-08-26Implement Status FruitsJesusaves1-3/+40
2019-08-26Refine: Break chance: 0.01%, Downgrade chance: 1% per refine level.Jesusaves1-4/+4
In usual, nothing happens when you fail, except reagent loss.
2019-08-26Shields are now refine-ableJesusaves1-0/+1
2019-08-26Town Politics: Send a RODeX mail to new mayors that they were (re-)elected.Jesusaves1-0/+9
That would be 2 mails weekly on re-election: Victory, and Term GP Income. No mail is sent on defeat, nor to old mayors if they didn't ran again.
2019-08-26Conduct elections :>Jesusaves1-0/+38
Mayor will be reelected if nobody runs for the office. But they are not automatically candidate, meaning they lose the office if someone else runs and gets zero votes.
2019-08-26New util function: array_highest(<array>)Jesusaves1-0/+22
Will return first highest value in an array. For elections.
2019-08-25Send Town Administrators salary based on reputation and exports.Jesusaves2-1/+42
It would be nice if you could get some tax money, no? %%a
2019-08-25*sigh* additional care so taxes workJesusaves1-0/+1
2019-08-24What's the most important thing in a political system? TAXES, OF COURSE!Jesusaves1-0/+55
2019-08-24Political System sketch. Siege defeat will now lower town reputation.Jesusaves2-2/+22
All towns start with 50% town reputation (meaning 50% of income). Best income is Tulimshar, Worst income is Halinarzo. Volatile! Experimental sketch only. No pratical effects thus far.
2019-08-24UpdaterJesusaves1-0/+5
2019-08-20Lockpicks break less often, now.Jesusaves1-4/+4
2019-08-20Fix bugs on ErikJesusaves1-1/+1
2019-08-20Fix a bug on anyloot() functionJesusaves1-2/+1
2019-08-18Revert a patchJesusaves1-3/+11
2019-08-18Merge branch 'master' into testserverJesusaves16-209/+594
Conflicts solved with -X theirs
2019-08-18Lua will now give you also a Treasure Key. Have fun exploring!Jesusaves1-0/+3
2019-08-18Fix bad scopeJesusaves1-1/+1
2019-08-18Warn on Journalman that GS4 means final boss fight. Only that.Jesusaves1-1/+5
2019-08-18Handle Game Story 3 on journalmanJesusaves1-0/+2
2019-08-18Change MK rule when siege stage is over.Jesusaves2-9/+14
During stage 3, a side event may happen until throttle time is fulfilled. This side event will eat 2/5 of whatever he accumulated.
2019-08-18Minor improvements and corrections. This allows sieges to keep happening untilJesusaves3-5/+8
the Fortress is sieged itself.
2019-08-18Basic version of Erik the Homunculus DispatcherJesusaves1-0/+15
2019-08-17Lower Ground Strike MSP from 3 to 2.Jesusaves1-0/+7
Now I wonder if I didn't accidentaly reuse MAGIC_PTS... Would be... awkward. Anyway.
2019-08-17Fix bugs, and add Blossom Quest for Enchanted Herb Bag.Jesusaves1-2/+6
Even sounds silly given how bad Thorn is rewarding you.
2019-08-17Simple quest on Thorn, for no real reason, but you might do it anyway for ↵Jesusaves1-2/+6
completion. Remember: Completing this quest affect the ferry fee!
2019-08-11Fix exploit involving referral scope in client updaterJesusaves1-5/+9
2019-08-11Client Updater - Eisten missed rewardsJesusaves1-0/+8
2019-08-11If your invitees still play the game, rewards will be sent as rodex mail toJesusaves1-0/+9
the first registered char in the account.
2019-08-11New function: gf_charid(accid). This is for Refeer System.Jesusaves1-0/+7
2019-08-11Warn if you try to go to Tulimshar under 50% Candor Quest completionJesusaves1-3/+3
2019-08-11Mark some invalid summer monster drop settingsJesusaves1-5/+5
2019-08-10Introduce a transcheck helper to optimize transmigration codeJesusaves1-0/+20
2019-08-09Rewrite how Transmigration works (it is now bad and maybe broken)Jesusaves1-0/+3
2019-08-09Players who already finished JS Grimorium quest don't need to do it again...Jesusaves2-4/+7
2019-08-09FIX THE PVP BUGJesusaves2-1/+7
2019-08-08Attempt to fix the JobExp Limiter using an ancient piece of code from manualsJesusaves1-2/+3
2019-08-07Split Estate Functions in half. One will take primary functions.Jesusaves2-272/+276
The later one will take auxiliar functions (dialog helpers)
2019-08-07Change treasure common/uncommon drop rate and item selection.Jesusaves1-2/+2
2019-08-07Proper cleanup of events at death during Player Story 5 - Forgotten Throne RoomJesusaves1-0/+12
2019-08-07Fix a typoJesusaves1-1/+1
2019-08-07Unify all cauldrons with the apartment function, which is now an util.Jesusaves1-0/+34
This means I can add new systems using the cauldron, and split them at a later date if I deem fit. Note Halinarzo houses does not comes with a Cauldron -_-
2019-08-07Unify all Piano codesJesusaves1-0/+69