10 Commits

Author SHA1 Message Date
Lemongrass3110
2043c95e66 Refactored hardcoded npc event names (#1767)
While refactoring those events the following other changes were made:

Introducing OnInstanceDestroy event. This event can be used to hook script code right in front of the instance destruction. This can be useful if you have any stored references to an instance id for example.

The script command cmdothernpc will now check if the target event exists and report failures. Therefore it now returns true or false.

All agit(FE,SE,TE) start and end commands from atcommand and script commands have been merged in their respective guild function which now returns a bool value of true for successful actions and false if it did not succeed(if the specific WoE was [not] running).

All global triggered events with mapserver status output now call the same function and therefore have the same mapserver output(including their respective event name of course).

Renamed a few events in the script configuration to match the other names

Added constants for months and weekdays

Additionally added constants for gettime types to make it easier to read.

Replaced all existing usages I found with their proper new syntax or better fitting functions.
2017-01-10 22:58:04 +01:00
Euphy
4f81f045ca * Removed SVN references from readme files.
* Replaced "Current Version" field with "Last Updated" when a date is provided.
* Added Magic Candy (12596) and Spark Candy (14586) to Renewal item_delay database.

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2013-11-12 13:35:45 -05:00
thatakkarin
f79a3f34aa * Updated 'mapwarp' in script_commands.txt to show missing params - Thanks to Emistry for pointing that out!
* permissions.txt's current version should be the date an additional permission was created, not documented. Cross-referencing for the win.
* Slight clean-up in woe_time_explanation.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16768 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-10 09:28:25 +00:00
euphyy
2adc9cdf28 * Follow-up r16726, more standardization on docs.
* Replaced and added dividers in many script files with one standard divider.
* Other misc. cleaning...

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16727 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-09-01 00:37:36 +00:00
brianluau
9b08202837 - Standardized headers of /doc files.
- Added svn:eol-style=native property on some recently added text files.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16726 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-08-31 21:49:48 +00:00
euphyy
31605dd8d2 * Follow-up r16430, moved all the RE entries in the .conf files behind the pre-RE entries
* Re-added a missing .conf entry, bugreport:6256
* Edited "WoE Time Explanation" documentation (doc\woe_time_explanation.txt)
* Added Warg documentation to checkoption/setoption, thanks to QQfoolsorellina tid:120670 (doc\script_commands.txt)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16435 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-07-17 13:58:18 +00:00
Paradox924X
0d0f4588ea Updated WoE Time Explanation for Sunday.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12958 54d463be-8e91-2dee-dedb-b68131a5f0ec
2008-07-15 02:28:03 +00:00
ultramage
a6e61e1d2f Gave each file an empty last line, to make svn happier
Added svn:eol-style native where missing
Removed remaining .gats

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10401 54d463be-8e91-2dee-dedb-b68131a5f0ec
2007-04-29 08:17:53 +00:00
FlavioJS
637ae9a4dc - Massive EOL normalization & 'svn:eol-style native' flag setting for all txt/conf/h/c files.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9410 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-12-05 13:23:07 +00:00
eaac
23599bc5a7 ~ eAAC Update:
* Added quest_warper.txt to eAAC_Scripts. [erKURITA]
* Deleted the sql and txt versions of the disguiser and added a merge of both. [erKURITA]
* Deleted clone_arena.txt. [erKURITA]
* Updated global_functionsKE.txt of Skotlex. [erKURITA]
* Added woe_time_explanation.txt to explain how to set WoE times. [erKURITA]

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6068 54d463be-8e91-2dee-dedb-b68131a5f0ec
2006-04-15 00:16:48 +00:00