Lemongrass3110
9b1b7b1a2b
Replaced hardcoded genders with constants ( #1730 )
...
* Replaced hardcoded gender codes in source
Introduced a new constant for the account based gender and replaced all hardcoded gender references to code 99 with it.
* Replaced hardcoded gender codes in npcs
Exported the gender constants into the script engine and replaced all usages with references to the constants instead of expecting a value behind them.
* Corrected a typo
Thanks to Machiezmo from Discord.
* Fixed an inverted gender logic
Thanks to @secretdataz
2016-11-22 21:20:03 +01:00
..
2016-11-22 21:20:03 +01:00
2016-11-22 21:20:03 +01:00
2016-11-22 21:20:03 +01:00
2016-11-22 21:20:03 +01:00
2016-11-22 21:20:03 +01:00
2014-01-12 16:24:38 -05:00
2016-11-22 21:20:03 +01:00
2014-01-12 16:24:38 -05:00
2016-11-22 21:20:03 +01:00
2015-12-09 23:09:17 +01:00
2016-08-05 00:28:23 +02:00
2016-10-18 22:49:18 +02:00
2016-02-04 10:47:16 -05:00
2014-01-12 16:24:38 -05:00
2016-08-05 00:28:23 +02:00
2016-11-22 21:20:03 +01:00
2015-04-06 23:24:12 +02:00
2014-01-12 16:24:38 -05:00
2016-11-22 21:20:03 +01:00
2014-01-12 16:24:38 -05:00
2014-01-22 12:25:07 -05:00
2016-11-22 21:20:03 +01:00
2016-09-07 21:35:14 +02:00
2016-02-04 10:47:16 -05:00
2016-09-07 21:35:14 +02:00
2016-11-22 21:20:03 +01:00
2016-11-22 21:20:03 +01:00
2016-11-22 21:20:03 +01:00
2014-01-12 16:24:38 -05:00
2016-11-13 17:58:20 +01:00
2016-11-22 21:20:03 +01:00
2016-11-22 21:20:03 +01:00
2016-11-22 21:20:03 +01:00
2014-01-12 16:24:38 -05:00
2016-11-22 21:20:03 +01:00
2016-11-22 21:20:03 +01:00
2014-01-12 16:24:38 -05:00
2016-09-07 21:35:14 +02:00
2016-11-22 21:20:03 +01:00
2016-09-07 21:35:14 +02:00
2014-01-12 16:24:38 -05:00
2016-11-22 21:20:03 +01:00
2016-11-22 21:20:03 +01:00
2016-11-22 21:20:03 +01:00
2016-11-22 21:20:03 +01:00
2014-01-12 16:24:38 -05:00
2016-11-22 21:20:03 +01:00
2016-09-07 21:35:14 +02:00
2016-09-07 21:35:14 +02:00
2016-11-22 21:20:03 +01:00
2014-01-12 16:24:38 -05:00
2016-09-07 21:35:14 +02:00
2016-11-22 21:20:03 +01:00