mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 10:11:09 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user