More emergency fixes

This commit is contained in:
Heroman
2019-08-20 11:49:09 +10:00
parent 3b6864c193
commit e8a9a537cd
2 changed files with 36 additions and 15 deletions
+15 -2
View File
@@ -1,3 +1,9 @@
#define FISHING_RARE "rare"
#define FISHING_UNCOMMON "uncommon"
#define FISHING_COMMON "common"
#define FISHING_JUNK "junk"
#define FISHING_NOTHING "nothing"
GLOBAL_LIST_INIT(indoor_fishing_chance_list, list(FISHING_RARE = 5, FISHING_UNCOMMON = 20, FISHING_COMMON = 30, FISHING_JUNK = 5, FISHING_NOTHING = 50))
GLOBAL_LIST_INIT(indoor_fishing_junk_list, list(
/obj/random/junk = 15,
@@ -17,8 +23,8 @@ GLOBAL_LIST_INIT(indoor_fishing_junk_list, list(
fishing_loot = GLOB.indoor_fishing_chance_list
/turf/simulated/floor/water/deep/indoors
min_fishing_time = 45
max_fishing_time = 120
min_fishing_time = 33
max_fishing_time = 99
/turf/simulated/floor/water/deep/indoors/handle_fish()
if(has_fish)
@@ -27,3 +33,10 @@ GLOBAL_LIST_INIT(indoor_fishing_junk_list, list(
common_fish_list = GLOB.generic_fishing_common_list
junk_list = GLOB.indoor_fishing_junk_list
fishing_loot = GLOB.indoor_fishing_chance_list
#undef FISHING_RARE
#undef FISHING_UNCOMMON
#undef FISHING_COMMON
#undef FISHING_JUNK
#undef FISHING_NOTHING