mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
incorporates Zuhayr's suggestion
This commit is contained in:
@@ -98,19 +98,9 @@
|
|||||||
return
|
return
|
||||||
|
|
||||||
/obj/structure/ore_box/ex_act(severity)
|
/obj/structure/ore_box/ex_act(severity)
|
||||||
switch(severity)
|
if(severity == 1.0 || (severity < 3.0 && prob(50)))
|
||||||
if(1.0)
|
for (var/obj/item/weapon/ore/O in contents)
|
||||||
for(var/obj/item/weapon/ore/O in contents)
|
|
||||||
O.loc = src.loc
|
O.loc = src.loc
|
||||||
O.ex_act(severity++)
|
O.ex_act(severity++)
|
||||||
del(src)
|
del(src)
|
||||||
return
|
return
|
||||||
if(2.0)
|
|
||||||
if(prob(50))
|
|
||||||
for(var/obj/item/weapon/ore/O in contents)
|
|
||||||
O.loc = src.loc
|
|
||||||
O.ex_act(severity++)
|
|
||||||
del(src)
|
|
||||||
return
|
|
||||||
if(3.0)
|
|
||||||
return
|
|
||||||
Reference in New Issue
Block a user