mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 15:01:04 +01:00
Adds zippo lighters and a colorable trenchcoat to the loadout. (#9665)
* Fixes high skirt. * Lighters and Trenchcoats * Himeo Zippo, Cross Zippo * Adds support for different lighter flames. * Lighter in-hand sprites * Merges .dmis with adds ninja hardsuit selection #9631 * More trenchcoat fixes * The last iteration of the trenchcoat, I swear. * Removes redundant code for lighter sounds. * Decapitalization of ZIPPO LIGHTER * Made a set_flame_light proc * New zippo color system: variable edition * set_flame_light proc destroyed
This commit is contained in:
@@ -659,6 +659,9 @@ CIGARETTE PACKETS ARE IN FANCY.DM
|
||||
pickup_sound = 'sound/items/pickup/card.ogg'
|
||||
var/last_open = 0 //prevent message spamming.
|
||||
var/last_close = 0
|
||||
var/flame_light_range = 1
|
||||
var/flame_light_power = 2
|
||||
var/flame_light_color = LIGHT_COLOR_LAVA
|
||||
|
||||
/obj/item/flame/lighter/zippo
|
||||
name = "\improper Zippo lighter"
|
||||
@@ -670,6 +673,69 @@ CIGARETTE PACKETS ARE IN FANCY.DM
|
||||
drop_sound = 'sound/items/drop/accessory.ogg'
|
||||
pickup_sound = 'sound/items/pickup/accessory.ogg'
|
||||
|
||||
/obj/item/flame/lighter/zippo/dominia
|
||||
name = "\improper Dominian Zippo lighter"
|
||||
desc = "A zippo lighter with a depiction of the Imperial standard of Dominia."
|
||||
desc_fluff = "While never officially endorsed by the Emperor, lighters featuring a stylized Imperial standard are a common sight throughout the Empire. Due to the simplicity with which the standard can be recreated, these lighters are found even in the poorer frontier regions in the Empire and are commonly seen as a sign of patriotism."
|
||||
icon_state = "dominiazippo"
|
||||
item_state = "dominiazippo"
|
||||
|
||||
/obj/item/flame/lighter/zippo/sol
|
||||
name = "\improper Solarian Zippo lighter"
|
||||
desc = "A zippo lighter with a depiction of the flag of the Sol Alliance."
|
||||
desc_fluff = "Zippo lighters with the flag of the Sol Alliance continue a long-standing tradition of Earth. While originally proclaiming patriotism to the nation, in the face of movements for more colonial self-determination, these lighters now push forward a message of unity."
|
||||
icon_state = "solzippo"
|
||||
item_state = "solzippo"
|
||||
|
||||
/obj/item/flame/lighter/zippo/tcfl
|
||||
name = "\improper Bieselite Zippo lighter"
|
||||
desc = "A zippo lighter with a depiction of the Bieselite flag."
|
||||
desc_fluff = "In their rush to expand the Tau Ceti Foreign Legion, the Republic of Biesel manufactured thousands of Biesel-patterned zippo lighters to compliment the jackets and berets that were so often touted by recruiters. In the wake of Frost's Invasion, the popularity of such lighters has only increased and they serve as a small show of patriotism. A small NanoTrasen logo is stenciled on the base."
|
||||
icon_state = "tcflzippo"
|
||||
item_state = "tcflzippo"
|
||||
|
||||
/obj/item/flame/lighter/zippo/royal
|
||||
name = "royal Zippo lighter"
|
||||
desc = "A gold-plated zippo with a two-piece cover. A small chemical resevoir in the lighter allows for purple flames that burn with greater intensity."
|
||||
icon_state = "royalzippo"
|
||||
item_state = "royalzippo"
|
||||
flame_light_color = LIGHT_COLOR_VIOLET
|
||||
|
||||
/obj/item/flame/lighter/zippo/black
|
||||
name = "black Zippo lighter"
|
||||
desc = "A black zippo lighter with a rounded cover. This one seems to burn lower and slower, producing a faint glow."
|
||||
icon_state = "blackzippo"
|
||||
item_state = "blackzippo"
|
||||
|
||||
/obj/item/flame/lighter/zippo/black/cross
|
||||
name = "black Zippo lighter"
|
||||
desc = "A black zippo lighter with a rounded cover. This one seems to burn lower and slower, producing a faint glow. This one has a cross painted on it."
|
||||
icon_state = "blackcrosszippo"
|
||||
item_state = "blackzippo"
|
||||
|
||||
/obj/item/flame/lighter/zippo/himeo
|
||||
name = "\improper Himean Zippo lighter"
|
||||
desc = "A zippo with the symbol of the United Syndicates of Himeo on it. This seems to be a model of exceptional make and excessive fuel consumption and temperature."
|
||||
desc_fluff = "Lighters of all kinds are a common sight in the United Syndicates of Himeo, where light sources are required for daily life in its dark tunnels, and its lighters are prized throughout the Coalition for their quality. The common emblem of the planet - a white circle surrounded by red triangles - is often featured on lighters originating from the planet."
|
||||
icon_state = "himeozippo"
|
||||
item_state = "himeozippo"
|
||||
flame_light_range = 2
|
||||
|
||||
/obj/item/flame/lighter/zippo/coalition
|
||||
name = "\improper Coalition Zippo lighter"
|
||||
desc = "A zippo lighter with a depiction of the Coalition of Colonies flag. This lighter utilizes advanced fuel from Xanu Prime which burns hotter, causing a blue flame."
|
||||
desc_fluff = "As there are hundreds of cultures in the Coalition of Colonies, so too are there hundreds of local variations of zippo lighters. The most prized zippos tend to be those from the industrial colony of Himeo, where a strong work ethic and technological advancements combine to produce high-quality lighters that ignite through the harshest of conditions. Most exported Himean lighters have their logos scratched off, rebranded, and given a fresh coat of paint, much to the chagrin of their manufacturers."
|
||||
icon_state = "coalitionzippo"
|
||||
item_state = "coalitionzippo"
|
||||
flame_light_color = LIGHT_COLOR_BLUE
|
||||
|
||||
/obj/item/flame/lighter/zippo/gold
|
||||
name = "golden Zippo lighter"
|
||||
desc = "A golden zippo lighter. Badasses and chainsmokers might settle for a zippo, no sir - you can do better with this solid, 24-karat golden piece!"
|
||||
icon_state = "goldzippo"
|
||||
item_state = "goldzippo"
|
||||
flame_light_color = LIGHT_COLOR_BLUE
|
||||
|
||||
/obj/item/flame/lighter/random/Initialize()
|
||||
. = ..()
|
||||
icon_state = "lighter-[pick("r","c","y","g")]"
|
||||
@@ -713,7 +779,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
|
||||
if(last_open <= world.time - 20) //Spam limiter.
|
||||
last_open = world.time
|
||||
user.visible_message(SPAN_DANGER("After a few attempts, <b>[user]</b> manages to light \the [src], they however burn their finger in the process."), range = 3)
|
||||
set_light(2, 1, l_color = LIGHT_COLOR_LAVA)
|
||||
set_light(flame_light_power, flame_light_range, l_color = flame_light_color)
|
||||
START_PROCESSING(SSprocessing, src)
|
||||
else
|
||||
lit = FALSE
|
||||
@@ -900,4 +966,4 @@ CIGARETTE PACKETS ARE IN FANCY.DM
|
||||
qdel(I)
|
||||
qdel(src)
|
||||
return
|
||||
..()
|
||||
..()
|
||||
Reference in New Issue
Block a user