mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 03:55:05 +01:00
TG: Added a cheap lighter so that zippos will have some company.
The cheap lighter can be purchased at vending machines and comes in 4 colors: green, yellow, cyan and red. Technical info: The path /obj/item/weapon/zippo was changed to /obj/item/weapon/lighter/zippo The new lighter is /obj/item/weapon/lighter/random Revision: r3033 Author: baloh.matevz Date: Feb 4, 2012 Review scores: No one has yet scored this revision.
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
else
|
||||
alert("Coders only baby")
|
||||
return
|
||||
// feedback_add_details("admin_verb","DG2") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
|
||||
|
||||
@@ -772,7 +773,7 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
|
||||
M.equip_if_possible(new /obj/item/clothing/mask/cigarette/cigar/cohiba(M), M.slot_wear_mask)
|
||||
M.equip_if_possible(new /obj/item/clothing/head/centhat(M), M.slot_head)
|
||||
M.equip_if_possible(new /obj/item/weapon/gun/projectile/mateba(M), M.slot_s_store)
|
||||
M.equip_if_possible(new /obj/item/weapon/zippo(M), M.slot_r_store)
|
||||
M.equip_if_possible(new /obj/item/weapon/lighter/zippo(M), M.slot_r_store)
|
||||
M.equip_if_possible(new /obj/item/ammo_magazine/a357(M), M.slot_l_store)
|
||||
|
||||
var/obj/item/weapon/card/id/W = new(M)
|
||||
@@ -795,7 +796,7 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
|
||||
M.equip_if_possible(new /obj/item/clothing/mask/cigarette/cigar/havanian(M), M.slot_wear_mask)
|
||||
M.equip_if_possible(new /obj/item/clothing/head/deathsquad/beret(M), M.slot_head)
|
||||
M.equip_if_possible(new /obj/item/weapon/gun/energy/pulse_rifle/M1911(M), M.slot_belt)
|
||||
M.equip_if_possible(new /obj/item/weapon/zippo(M), M.slot_r_store)
|
||||
M.equip_if_possible(new /obj/item/weapon/lighter/zippo(M), M.slot_r_store)
|
||||
M.equip_if_possible(new /obj/item/weapon/storage/backpack/satchel(M), M.slot_back)
|
||||
|
||||
var/obj/item/weapon/card/id/W = new(M)
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
icon_state = "detective"
|
||||
item_state = "det_suit"
|
||||
body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|ARMS
|
||||
allowed = list(/obj/item/weapon/tank/emergency_oxygen, /obj/item/device/flashlight,/obj/item/weapon/gun/energy,/obj/item/weapon/gun/projectile,/obj/item/ammo_magazine,/obj/item/ammo_casing,/obj/item/weapon/melee/baton,/obj/item/weapon/handcuffs,/obj/item/weapon/cigpacket,/obj/item/weapon/zippo,/obj/item/device/detective_scanner,/obj/item/device/taperecorder,/obj/item/policetaperoll)
|
||||
allowed = list(/obj/item/weapon/tank/emergency_oxygen, /obj/item/device/flashlight,/obj/item/weapon/gun/energy,/obj/item/weapon/gun/projectile,/obj/item/ammo_magazine,/obj/item/ammo_casing,/obj/item/weapon/melee/baton,/obj/item/weapon/handcuffs,/obj/item/weapon/cigpacket,/obj/item/weapon/lighter,/obj/item/device/detective_scanner,/obj/item/device/taperecorder,/obj/item/policetaperoll)
|
||||
armor = list(melee = 50, bullet = 10, laser = 25, energy = 10, bomb = 0, bio = 0, rad = 0)
|
||||
|
||||
|
||||
|
||||
@@ -794,8 +794,8 @@
|
||||
contents += O
|
||||
if(istype(module_state_1,/obj/item/borg/sight))
|
||||
sight_mode |= module_state_1:sight_mode
|
||||
else if(istype(module_state_1,/obj/item/weapon/zippo))
|
||||
var/obj/item/weapon/zippo/Z = module_state_1
|
||||
else if(istype(module_state_1,/obj/item/weapon/lighter/zippo))
|
||||
var/obj/item/weapon/lighter/zippo/Z = module_state_1
|
||||
Z.lit = 1
|
||||
Z.icon_state = "zippoon"
|
||||
Z.item_state = "zippoon"
|
||||
@@ -806,8 +806,8 @@
|
||||
contents += O
|
||||
if(istype(module_state_2,/obj/item/borg/sight))
|
||||
sight_mode |= module_state_2:sight_mode
|
||||
else if(istype(module_state_2,/obj/item/weapon/zippo))
|
||||
var/obj/item/weapon/zippo/Z = module_state_2
|
||||
else if(istype(module_state_2,/obj/item/weapon/lighter/zippo))
|
||||
var/obj/item/weapon/lighter/zippo/Z = module_state_2
|
||||
Z.lit = 1
|
||||
Z.icon_state = "zippoon"
|
||||
Z.item_state = "zippoon"
|
||||
@@ -818,8 +818,8 @@
|
||||
contents += O
|
||||
if(istype(module_state_3,/obj/item/borg/sight))
|
||||
sight_mode |= module_state_3:sight_mode
|
||||
else if(istype(module_state_3,/obj/item/weapon/zippo))
|
||||
var/obj/item/weapon/zippo/Z = module_state_3
|
||||
else if(istype(module_state_3,/obj/item/weapon/lighter/zippo))
|
||||
var/obj/item/weapon/lighter/zippo/Z = module_state_3
|
||||
Z.lit = 1
|
||||
Z.icon_state = "zippoon"
|
||||
Z.item_state = "zippoon"
|
||||
@@ -832,8 +832,8 @@
|
||||
var/obj/item/O = locate(href_list["deact"])
|
||||
if(activated(O))
|
||||
if(module_state_1 == O)
|
||||
if(istype(module_state_1, /obj/item/weapon/zippo))
|
||||
var/obj/item/weapon/zippo/Z = module_state_1
|
||||
if(istype(module_state_1, /obj/item/weapon/lighter/zippo))
|
||||
var/obj/item/weapon/lighter/zippo/Z = module_state_1
|
||||
Z.lit = 0
|
||||
Z.icon_state = "zippo"
|
||||
Z.item_state = "zippo"
|
||||
@@ -841,8 +841,8 @@
|
||||
module_state_1 = null
|
||||
contents -= O
|
||||
else if(module_state_2 == O)
|
||||
if(istype(module_state_2, /obj/item/weapon/zippo))
|
||||
var/obj/item/weapon/zippo/Z = module_state_2
|
||||
if(istype(module_state_2, /obj/item/weapon/lighter/zippo))
|
||||
var/obj/item/weapon/lighter/zippo/Z = module_state_2
|
||||
Z.lit = 0
|
||||
Z.icon_state = "zippo"
|
||||
Z.item_state = "zippo"
|
||||
@@ -850,8 +850,8 @@
|
||||
module_state_2= null
|
||||
contents -= O
|
||||
else if(module_state_3 == O)
|
||||
if(istype(module_state_3, /obj/item/weapon/zippo))
|
||||
var/obj/item/weapon/zippo/Z = module_state_3
|
||||
if(istype(module_state_3, /obj/item/weapon/lighter/zippo))
|
||||
var/obj/item/weapon/lighter/zippo/Z = module_state_3
|
||||
Z.lit = 0
|
||||
Z.icon_state = "zippo"
|
||||
Z.item_state = "zippo"
|
||||
|
||||
@@ -193,7 +193,10 @@
|
||||
src.modules += M
|
||||
|
||||
src.modules += new /obj/item/weapon/reagent_containers/robodropper(src)
|
||||
src.modules += new /obj/item/weapon/zippo(src)
|
||||
|
||||
var/obj/item/weapon/lighter/zippo/L = new /obj/item/weapon/lighter/zippo(src)
|
||||
L.lit = 1
|
||||
src.modules += L
|
||||
|
||||
src.modules += new /obj/item/weapon/tray(src)
|
||||
src.modules += new /obj/item/weapon/reagent_containers/food/drinks/shaker(src)
|
||||
|
||||
Reference in New Issue
Block a user