Compiler Fixes

Fixes in order:
- Removes List of defines in misc_ch.dm that are no longer used - they're defined here for the casino prize dispenser, making these obsolete:
![](https://i.imgur.com/8iCsb98.png)

- Fixes relative pathing in mecha_parts_ch.dm
- Fixes relative pathing in bodybag.dm
- Fixes relative pathing in sahoc_ch.dm
- Fixes relative pathing in toys_yw.dm
- Fixes def_zone being defined when only the variable was needed in twohanded_ch.dm
- Fixes relative pathing in trash_pile_vr_ch.dm
- Fixes clip_mask being missing in misc_ch.dm
- Fixes relative pathing in tesh_synth_facemask.dm
- Fixes absolute path being indented in by one (typo?)
- Fixes relative pathing in armor_yw.dm
- Fixes unreachable parent call in audible_scream_ch.dm
- Fixes VERM_LIZARDS being undefined when it wasn't defined, as VERM_LIZARDMEN was the variable being defined + used in mutants.dm
- Removes two un-needed parent calls - these procs have no parent on /obj/structure - thecake_ch.dm
- Fixes invalid kword nano_state in protean_blob.dm
- Fixes relative pathing in drone_manufacturer_unify.dm
- Fixes relative pathing in synx.dm
- Removes arguments of drop_item that don't exist (port was from TG and had force_drop = 1 and src defined.) - vox.dm
- Added vision_required = TRUE to fix proc argument missing - bigdragon_ch.dm
- Added include_robo = TRUE to fix argument missing in demon_ch.dm
- Fixes relative pathing in rakshasa_abilities.dm
- Adds comment to solargrub.dm, unable to fix operator overload error yet.
- Fixes relative pathing in sprite_accessories_extra_ch.dm
- Fixes relative pathing in sprite_accessories_yw.dm
- Fixes relative pathing in phase.dm
- Fixes relative pathing in bluespacecoffee.dm
- Fixes relative pathing in other_ch.dm
- Fixes relative pathing and ambigious ! in living_ch.dm
- Fixes relative pathing in custom_clothes_yw.dm
- Fixes relative pathing in custom_rigs_yw.dm
- Fixes relative pathing in MadokaSpear.dm
- Comments out duplicate #includes in southern_cross.dm as vorestation.dme has them #include'd.
This commit is contained in:
Rykka
2021-09-03 17:22:49 -07:00
parent 4c3a29623c
commit ed798113d9
32 changed files with 530 additions and 537 deletions
@@ -28,32 +28,32 @@
var/gammaunique = 1
Initialize()
..()
if(prob(destroychance))
qdel(src)
/obj/structure/trash_pile/sharkpile/Initialize()
..()
if(prob(destroychance))
qdel(src)
//^X% chance to use our own list, otherwise default pool.
//Here we could also add a % chance to spawn a mob for trash pandas or such,
produce_alpha_item()
if(prob(overridechancealpha))
var/path = pick(alphapicks)
var/obj/item/I = new path()
return I
return ..()
/obj/structure/trash_pile/sharkpile/produce_alpha_item()
if(prob(overridechancealpha))
var/path = pick(alphapicks)
var/obj/item/I = new path()
return I
return ..()
produce_beta_item()
if(prob(overridechancebeta))
var/path = pick(betapicks)
var/obj/item/I = new path()
return I
return ..()
/obj/structure/trash_pile/sharkpile/produce_beta_item()
if(prob(overridechancebeta))
var/path = pick(betapicks)
var/obj/item/I = new path()
return I
return ..()
produce_gamma_item()
if(prob(overridechancegamma)&& gammaunique!=2)
var/path = pick(gammapicks)
var/obj/item/I = new path()
if(gammaunique!=0)
gammaunique++
return I
return ..()
/obj/structure/trash_pile/sharkpile/produce_gamma_item()
if(prob(overridechancegamma)&& gammaunique!=2)
var/path = pick(gammapicks)
var/obj/item/I = new path()
if(gammaunique!=0)
gammaunique++
return I
return ..()