Quality of life pull for my recent commits (#20210)

* Quality of life pull for my recent commits:

RPGloot will no longer try to place scrolls in secret satchels, as this would slowly turn the drop table into these fairly useless joke items.

Goes through and genders most(all) the pets in the game so the gender change potion can work on them. Many previously hard defined generic animals can now be either male or female.

* Secret satchel is now a bit more aggressive with making sure a satchel is placed

D E F I N E S

* "quality"

* Not Canon
This commit is contained in:
Incoming5643
2016-08-30 17:23:54 -04:00
committed by oranges
parent 9f4d354065
commit 540fa28339
31 changed files with 48 additions and 11 deletions

View File

@@ -56,11 +56,16 @@ var/datum/subsystem/persistence/SSpersistence
return 1
/datum/subsystem/persistence/proc/PlaceFreeSatchel()
for(var/V in shuffle(get_area_turfs(pick(the_station_areas))))
var/turf/T = V
if(istype(T,/turf/open/floor) && !istype(T,/turf/open/floor/plating/))
new /obj/item/weapon/storage/backpack/satchel/flat/secret(T)
break
var/satchel_placed = FALSE
var/breakout = 0
while(!satchel_placed && breakout <= 5)
for(var/V in shuffle(get_area_turfs(pick(the_station_areas))))
var/turf/T = V
if(istype(T,/turf/open/floor) && !istype(T,/turf/open/floor/plating/))
new /obj/item/weapon/storage/backpack/satchel/flat/secret(T)
satchel_placed = TRUE
break
breakout++
/datum/subsystem/persistence/proc/CollectSecretSatchels()
for(var/A in new_secret_satchels)