HoS got an armored greatcoat instead of what he's got before.

Further tweaking of magma.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@235 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
uporotiy
2010-10-01 18:22:07 +00:00
parent b2d281d0b6
commit c4dcced352
14 changed files with 43 additions and 26 deletions

View File

@@ -34,7 +34,7 @@
return return
blob_act() blob_act()
if (prob(25)) if (prob(50))
del(src) del(src)
meteorhit() meteorhit()
@@ -118,7 +118,7 @@
return return
blob_act() blob_act()
if (prob(25)) if (prob(50))
del(src) del(src)
meteorhit() meteorhit()

View File

@@ -314,7 +314,7 @@
return return
blob_act() blob_act()
if(prob(25)) if(prob(50))
new /obj/effects/water(src.loc) new /obj/effects/water(src.loc)
del(src) del(src)
@@ -1718,6 +1718,10 @@
..() ..()
reagents.add_reagent("fuel",1000) reagents.add_reagent("fuel",1000)
/obj/reagent_dispensers/fueltank/blob_act()
explosion(src.loc,0,1,5,7,10)
del(src)
/obj/reagent_dispensers/beerkeg /obj/reagent_dispensers/beerkeg
name = "beer keg" name = "beer keg"
desc = "A beer keg" desc = "A beer keg"
@@ -1729,6 +1733,10 @@
..() ..()
reagents.add_reagent("beer",1000) reagents.add_reagent("beer",1000)
/obj/reagent_dispensers/beerkeg/blob_act()
explosion(src.loc,0,3,5,7,10)
del(src)
//////////////////////////drinkingglass and shaker// //////////////////////////drinkingglass and shaker//

View File

@@ -22,14 +22,15 @@
name = "magma" name = "magma"
icon = 'blob.dmi' icon = 'blob.dmi'
icon_state = "bloba0" icon_state = "bloba0"
var/health = 30 var/health = 60
density = 1 density = 1
opacity = 0 opacity = 0
luminosity = 3
anchored = 1 anchored = 1
/obj/blob/idle /obj/blob/idle
name = "magma" name = "magma"
desc = "it looks... calm" desc = "it looks... tasty"
icon_state = "blobidle0" icon_state = "blobidle0"
/obj/mark /obj/mark

View File

@@ -517,6 +517,14 @@
body_parts_covered = UPPER_TORSO|LOWER_TORSO body_parts_covered = UPPER_TORSO|LOWER_TORSO
flags = FPRINT | TABLEPASS | ONESIZEFITSALL flags = FPRINT | TABLEPASS | ONESIZEFITSALL
/obj/item/clothing/suit/armor/hos
name = "armored coat"
desc = "A greatcoat enchanced with a special alloy for some protection and style."
icon_state = "hos"
item_state = "hos"
body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS
flags = FPRINT | TABLEPASS | ONESIZEFITSALL
/obj/item/clothing/suit/armor/a_i_a_ptank /obj/item/clothing/suit/armor/a_i_a_ptank
desc = "A wearable bomb with a health analyzer attached" desc = "A wearable bomb with a health analyzer attached"
name = "Analyzer/Igniter/Armor/Plasmatank Assembly" name = "Analyzer/Igniter/Armor/Plasmatank Assembly"

View File

@@ -66,7 +66,7 @@
if(T.Enter(B,src) && !(locate(/obj/blob) in T)) if(T.Enter(B,src) && !(locate(/obj/blob) in T))
B.loc = T // open cell, so expand B.loc = T // open cell, so expand
else else
if(prob(70)) // closed cell, 50% chance to not expand if(prob(60)) // closed cell, 40% chance to not expand
if(!locate(/obj/blob) in T) if(!locate(/obj/blob) in T)
for(var/atom/A in T) // otherwise explode contents of turf for(var/atom/A in T) // otherwise explode contents of turf
A.blob_act() A.blob_act()
@@ -79,10 +79,10 @@
if(1) if(1)
del(src) del(src)
if(2) if(2)
src.health -= rand(20,30) src.health -= rand(60,90)
src.update() src.update()
if(3) if(3)
src.health -= rand(15,25) src.health -= rand(30,40)
src.update() src.update()
@@ -118,22 +118,23 @@
var/damage = W.force / 4.0 var/damage = W.force / 4.0
if(istype(W, /obj/item/weapon/extinguisher)) if(istype(W, /obj/item/weapon/weldingtool))
damage = 10 var/obj/item/weapon/weldingtool/WT = W
playsound(src.loc, 'extinguish.ogg', 100, 1) if(WT.welding)
damage = -5
playsound(src.loc, 'Welder.ogg', 100, 1)
else if(istype(W, /obj/item/weapon/plantbgone)) else if(istype(W, /obj/item/weapon/extinguisher))
var/obj/item/weapon/plantbgone/PBG = W var/obj/item/weapon/extinguisher/WT = W
if (!PBG.empty) if (!WT.safety && !WT.reagents.total_volume < 1 && !world.time < WT.last_use + 20)
damage = rand(10,20) damage = 10
playsound(src.loc, 'spray3.ogg', 50, 1, -6)
src.health -= damage src.health -= damage
src.update() src.update()
/obj/blob/examine() /obj/blob/examine()
set src in oview(1) set src in oview(1)
usr << "Mysterious magma." usr << "Delicious magma."
/datum/station_state/proc/count() /datum/station_state/proc/count()
for(var/turf/T in world) for(var/turf/T in world)

View File

@@ -381,7 +381,7 @@
src.equip_if_possible(new /obj/item/device/radio/headset/headset_sec (src), slot_ears) // -- TLE src.equip_if_possible(new /obj/item/device/radio/headset/headset_sec (src), slot_ears) // -- TLE
src.equip_if_possible(new /obj/item/device/pda/heads(src), slot_belt) src.equip_if_possible(new /obj/item/device/pda/heads(src), slot_belt)
src.equip_if_possible(new /obj/item/clothing/under/rank/head_of_security(src), slot_w_uniform) src.equip_if_possible(new /obj/item/clothing/under/rank/head_of_security(src), slot_w_uniform)
src.equip_if_possible(new /obj/item/clothing/suit/armor/vest(src), slot_wear_suit) src.equip_if_possible(new /obj/item/clothing/suit/armor/hos(src), slot_wear_suit)
src.equip_if_possible(new /obj/item/clothing/shoes/brown(src), slot_shoes) src.equip_if_possible(new /obj/item/clothing/shoes/brown(src), slot_shoes)
src.equip_if_possible(new /obj/item/clothing/head/helmet/HoS(src), slot_head) src.equip_if_possible(new /obj/item/clothing/head/helmet/HoS(src), slot_head)
// src.equip_if_possible(new /obj/item/clothing/glasses/sunglasses(src), slot_glasses) // src.equip_if_possible(new /obj/item/clothing/glasses/sunglasses(src), slot_glasses)

View File

@@ -61,7 +61,7 @@
new /obj/item/clothing/under/rank/head_of_security( src ) new /obj/item/clothing/under/rank/head_of_security( src )
new /obj/item/clothing/shoes/brown( src ) new /obj/item/clothing/shoes/brown( src )
new /obj/item/clothing/glasses/sunglasses( src ) new /obj/item/clothing/glasses/sunglasses( src )
new /obj/item/clothing/suit/armor/vest( src ) new /obj/item/clothing/suit/armor/hos( src )
new /obj/item/clothing/head/helmet( src ) new /obj/item/clothing/head/helmet( src )
new /obj/item/weapon/storage/id_kit( src ) new /obj/item/weapon/storage/id_kit( src )
new /obj/item/weapon/storage/flashbang_kit(src) new /obj/item/weapon/storage/flashbang_kit(src)

View File

@@ -30,8 +30,7 @@
return return
/obj/grille/blob_act() /obj/grille/blob_act()
if (prob(70)) del(src)
del(src)
/obj/grille/meteorhit(var/obj/M) /obj/grille/meteorhit(var/obj/M)
if (M.icon_state == "flaming") if (M.icon_state == "flaming")

View File

@@ -112,5 +112,5 @@ obj/structure
..() ..()
/obj/structure/girder/blob_act() /obj/structure/girder/blob_act()
if(prob(10)) if(prob(40))
del(src) del(src)

View File

@@ -103,7 +103,7 @@
return return
/obj/machinery/at_indicator/blob_act() /obj/machinery/at_indicator/blob_act()
if (prob(50)) if (prob(75))
for(var/x in src.verbs) for(var/x in src.verbs)
src.verbs -= x src.verbs -= x
src.icon_state = "reader_broken" src.icon_state = "reader_broken"

View File

@@ -324,7 +324,7 @@
/obj/machinery/dna_scanner/blob_act() /obj/machinery/dna_scanner/blob_act()
if(prob(50)) if(prob(75))
for(var/atom/movable/A as mob|obj in src) for(var/atom/movable/A as mob|obj in src)
A.loc = src.loc A.loc = src.loc
del(src) del(src)
@@ -346,7 +346,7 @@
/obj/machinery/scan_console/blob_act() /obj/machinery/scan_console/blob_act()
if(prob(50)) if(prob(75))
del(src) del(src)
/obj/machinery/scan_console/power_change() /obj/machinery/scan_console/power_change()
@@ -946,7 +946,7 @@
return return
/obj/machinery/restruct/blob_act() /obj/machinery/restruct/blob_act()
if(prob(50)) if(prob(75))
for(var/atom/movable/A as mob|obj in src) for(var/atom/movable/A as mob|obj in src)
A.loc = src.loc A.loc = src.loc
del(src) del(src)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB