mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-28 11:03:19 +00:00
Changes most viable, used entries of plasma with phoron.
This commit is contained in:
@@ -11,7 +11,7 @@ they are simply references used as part of a "has materials?" type proc. They al
|
||||
The currently supporting non-reagent materials:
|
||||
- $metal (/obj/item/stack/metal). One sheet = 3750 units.
|
||||
- $glass (/obj/item/stack/glass). One sheet = 3750 units.
|
||||
- $plasma (/obj/item/stack/plasma). One sheet = 3750 units.
|
||||
- $phoron (/obj/item/stack/phoron). One sheet = 3750 units.
|
||||
- $silver (/obj/item/stack/silver). One sheet = 3750 units.
|
||||
- $gold (/obj/item/stack/gold). One sheet = 3750 units.
|
||||
- $uranium (/obj/item/stack/uranium). One sheet = 3750 units.
|
||||
@@ -24,7 +24,7 @@ Don't add new keyword/IDs if they are made from an existing one (such as rods wh
|
||||
Design Guidlines
|
||||
- The reliability formula for all R&D built items is reliability_base (a fixed number) + total tech levels required to make it +
|
||||
reliability_mod (starts at 0, gets improved through experimentation). Example: PACMAN generator. 79 base reliablity + 6 tech
|
||||
(3 plasmatech, 3 powerstorage) + 0 (since it's completely new) = 85% reliability. Reliability is the chance it works CORRECTLY.
|
||||
(3 phorontech, 3 powerstorage) + 0 (since it's completely new) = 85% reliability. Reliability is the chance it works CORRECTLY.
|
||||
- When adding new designs, check rdreadme.dm to see what kind of things have already been made and where new stuff is needed.
|
||||
- A single sheet of anything is 3750 units of material. Materials besides metal/glass require help from other jobs (mining for
|
||||
other types of metals and chemistry for reagents).
|
||||
@@ -585,7 +585,7 @@ datum/design/posibrain
|
||||
req_tech = list("engineering" = 4, "materials" = 6, "bluespace" = 2, "programming" = 4)
|
||||
|
||||
build_type = PROTOLATHE
|
||||
materials = list("$metal" = 2000, "$glass" = 1000, "$silver" = 1000, "$gold" = 500, "$plasma" = 500, "$diamond" = 100)
|
||||
materials = list("$metal" = 2000, "$glass" = 1000, "$silver" = 1000, "$gold" = 500, "$phoron" = 500, "$diamond" = 100)
|
||||
build_path = "/obj/item/device/mmi/posibrain"
|
||||
|
||||
///////////////////////////////////
|
||||
@@ -803,13 +803,13 @@ datum/design/mech_repair_droid
|
||||
build_path = "/obj/item/mecha_parts/mecha_equipment/repair_droid"
|
||||
category = "Exosuit Equipment"
|
||||
|
||||
datum/design/mech_plasma_generator
|
||||
datum/design/mech_phoron_generator
|
||||
name = "Exosuit Module Design (Phoron Generator Module)"
|
||||
desc = "Exosuit-mounted phoron generator."
|
||||
id = "mech_plasma_generator"
|
||||
id = "mech_phoron_generator"
|
||||
build_type = MECHFAB
|
||||
req_tech = list("plasmatech" = 2, "powerstorage"= 2, "engineering" = 2)
|
||||
build_path = "/obj/item/mecha_parts/mecha_equipment/plasma_generator"
|
||||
req_tech = list("phorontech" = 2, "powerstorage"= 2, "engineering" = 2)
|
||||
build_path = "/obj/item/mecha_parts/mecha_equipment/phoron_generator"
|
||||
category = "Exosuit Equipment"
|
||||
|
||||
datum/design/mech_energy_relay
|
||||
@@ -1228,7 +1228,7 @@ datum/design/pacman
|
||||
name = "PACMAN-type Generator Board"
|
||||
desc = "The circuit board that for a PACMAN-type portable generator."
|
||||
id = "pacman"
|
||||
req_tech = list("programming" = 3, "plasmatech" = 3, "powerstorage" = 3, "engineering" = 3)
|
||||
req_tech = list("programming" = 3, "phorontech" = 3, "powerstorage" = 3, "engineering" = 3)
|
||||
build_type = IMPRINTER
|
||||
reliability_base = 79
|
||||
materials = list("$glass" = 2000, "sacid" = 20)
|
||||
@@ -1384,7 +1384,7 @@ datum/design/bluespacebeaker
|
||||
id = "bluespacebeaker"
|
||||
req_tech = list("bluespace" = 2, "materials" = 6)
|
||||
build_type = PROTOLATHE
|
||||
materials = list("$metal" = 3000, "$plasma" = 3000, "$diamond" = 500)
|
||||
materials = list("$metal" = 3000, "$phoron" = 3000, "$diamond" = 500)
|
||||
reliability_base = 76
|
||||
build_path = "/obj/item/weapon/reagent_containers/glass/beaker/bluespace"
|
||||
|
||||
@@ -1565,13 +1565,13 @@ datum/design/stunshell
|
||||
materials = list("$metal" = 4000)
|
||||
build_path = "/obj/item/ammo_casing/shotgun/stunshell"
|
||||
|
||||
datum/design/plasmapistol
|
||||
name = "plasma pistol"
|
||||
datum/design/phoronpistol
|
||||
name = "phoron pistol"
|
||||
desc = "A specialized firearm designed to fire lethal bolts of toxins."
|
||||
id = "ppistol"
|
||||
req_tech = list("combat" = 5, "plasmatech" = 4)
|
||||
req_tech = list("combat" = 5, "phorontech" = 4)
|
||||
build_type = PROTOLATHE
|
||||
materials = list("$metal" = 5000, "$glass" = 1000, "$plasma" = 3000)
|
||||
materials = list("$metal" = 5000, "$glass" = 1000, "$phoron" = 3000)
|
||||
build_path = "/obj/item/weapon/gun/energy/toxgun"
|
||||
/////////////////////////////////////////
|
||||
/////////////////Mining//////////////////
|
||||
@@ -1599,9 +1599,9 @@ datum/design/plasmacutter
|
||||
name = "Plasma Cutter"
|
||||
desc = "You could use it to cut limbs off of xenos! Or, you know, mine stuff."
|
||||
id = "plasmacutter"
|
||||
req_tech = list("materials" = 4, "plasmatech" = 3, "engineering" = 3)
|
||||
req_tech = list("materials" = 4, "phorontech" = 3, "engineering" = 3)
|
||||
build_type = PROTOLATHE
|
||||
materials = list("$metal" = 1500, "$glass" = 500, "$gold" = 500, "$plasma" = 500)
|
||||
materials = list("$metal" = 1500, "$glass" = 500, "$gold" = 500, "$phoron" = 500)
|
||||
reliability_base = 79
|
||||
build_path = "/obj/item/weapon/pickaxe/plasmacutter"
|
||||
|
||||
@@ -1662,7 +1662,7 @@ datum/design/bluespace_crystal
|
||||
id = "bluespace_crystal"
|
||||
req_tech = list("bluespace" = 5, "materials" = 7)
|
||||
build_type = PROTOLATHE
|
||||
materials = list("$gold" = 1500, "$diamond" = 3000, "$plasma" = 1500)
|
||||
materials = list("$gold" = 1500, "$diamond" = 3000, "$phoron" = 1500)
|
||||
reliability_base = 100
|
||||
build_path = "/obj/item/bluespace_crystal/artificial"
|
||||
|
||||
|
||||
@@ -110,4 +110,4 @@ Note: Must be placed within 3 tiles of the R&D Console
|
||||
icon_state = "d20"
|
||||
g_amt = 5000
|
||||
m_amt = 5000
|
||||
origin_tech = "materials=5;plasmatech=5;syndicate=5;programming=9"*/
|
||||
origin_tech = "materials=5;phorontech=5;syndicate=5;programming=9"*/
|
||||
|
||||
@@ -17,7 +17,7 @@ Note: Must be placed west/left of and R&D console to function.
|
||||
var/g_amount = 0.0
|
||||
var/gold_amount = 0.0
|
||||
var/silver_amount = 0.0
|
||||
var/plasma_amount = 0.0
|
||||
var/phoron_amount = 0.0
|
||||
var/uranium_amount = 0.0
|
||||
var/diamond_amount = 0.0
|
||||
var/clown_amount = 0.0
|
||||
@@ -37,7 +37,7 @@ Note: Must be placed west/left of and R&D console to function.
|
||||
RefreshParts()
|
||||
|
||||
/obj/machinery/r_n_d/protolathe/proc/TotalMaterials() //returns the total of all the stored materials. Makes code neater.
|
||||
return m_amount + g_amount + gold_amount + silver_amount + plasma_amount + uranium_amount + diamond_amount + clown_amount
|
||||
return m_amount + g_amount + gold_amount + silver_amount + phoron_amount + uranium_amount + diamond_amount + clown_amount
|
||||
|
||||
/obj/machinery/r_n_d/protolathe/RefreshParts()
|
||||
var/T = 0
|
||||
@@ -87,9 +87,9 @@ Note: Must be placed west/left of and R&D console to function.
|
||||
if(g_amount >= 3750)
|
||||
var/obj/item/stack/sheet/glass/G = new /obj/item/stack/sheet/glass(src.loc)
|
||||
G.amount = round(g_amount / G.perunit)
|
||||
if(plasma_amount >= 2000)
|
||||
var/obj/item/stack/sheet/mineral/plasma/G = new /obj/item/stack/sheet/mineral/plasma(src.loc)
|
||||
G.amount = round(plasma_amount / G.perunit)
|
||||
if(phoron_amount >= 2000)
|
||||
var/obj/item/stack/sheet/mineral/phoron/G = new /obj/item/stack/sheet/mineral/phoron(src.loc)
|
||||
G.amount = round(phoron_amount / G.perunit)
|
||||
if(silver_amount >= 2000)
|
||||
var/obj/item/stack/sheet/mineral/silver/G = new /obj/item/stack/sheet/mineral/silver(src.loc)
|
||||
G.amount = round(silver_amount / G.perunit)
|
||||
@@ -166,8 +166,8 @@ Note: Must be placed west/left of and R&D console to function.
|
||||
gold_amount += amount * 2000
|
||||
if(/obj/item/stack/sheet/mineral/silver)
|
||||
silver_amount += amount * 2000
|
||||
if(/obj/item/stack/sheet/mineral/plasma)
|
||||
plasma_amount += amount * 2000
|
||||
if(/obj/item/stack/sheet/mineral/phoron)
|
||||
phoron_amount += amount * 2000
|
||||
if(/obj/item/stack/sheet/mineral/uranium)
|
||||
uranium_amount += amount * 2000
|
||||
if(/obj/item/stack/sheet/mineral/diamond)
|
||||
|
||||
@@ -77,7 +77,7 @@ won't update every console in existence) but it's more of a hassle to do. Also,
|
||||
return_name = "Gold"
|
||||
if("silver")
|
||||
return_name = "Silver"
|
||||
if("plasma")
|
||||
if("phoron")
|
||||
return_name = "Solid Phoron"
|
||||
if("uranium")
|
||||
return_name = "Uranium"
|
||||
@@ -377,8 +377,8 @@ won't update every console in existence) but it's more of a hassle to do. Also,
|
||||
linked_lathe.gold_amount = max(0, (linked_lathe.gold_amount-being_built.materials[M]))
|
||||
if("$silver")
|
||||
linked_lathe.silver_amount = max(0, (linked_lathe.silver_amount-being_built.materials[M]))
|
||||
if("$plasma")
|
||||
linked_lathe.plasma_amount = max(0, (linked_lathe.plasma_amount-being_built.materials[M]))
|
||||
if("$phoron")
|
||||
linked_lathe.phoron_amount = max(0, (linked_lathe.phoron_amount-being_built.materials[M]))
|
||||
if("$uranium")
|
||||
linked_lathe.uranium_amount = max(0, (linked_lathe.uranium_amount-being_built.materials[M]))
|
||||
if("$diamond")
|
||||
@@ -469,9 +469,9 @@ won't update every console in existence) but it's more of a hassle to do. Also,
|
||||
if("silver")
|
||||
type = /obj/item/stack/sheet/mineral/silver
|
||||
res_amount = "silver_amount"
|
||||
if("plasma")
|
||||
type = /obj/item/stack/sheet/mineral/plasma
|
||||
res_amount = "plasma_amount"
|
||||
if("phoron")
|
||||
type = /obj/item/stack/sheet/mineral/phoron
|
||||
res_amount = "phoron_amount"
|
||||
if("uranium")
|
||||
type = /obj/item/stack/sheet/mineral/uranium
|
||||
res_amount = "uranium_amount"
|
||||
@@ -739,8 +739,8 @@ won't update every console in existence) but it's more of a hassle to do. Also,
|
||||
if(D.materials[M] > linked_lathe.gold_amount) check_materials = 0
|
||||
if("$silver")
|
||||
if(D.materials[M] > linked_lathe.silver_amount) check_materials = 0
|
||||
if("$plasma")
|
||||
if(D.materials[M] > linked_lathe.plasma_amount) check_materials = 0
|
||||
if("$phoron")
|
||||
if(D.materials[M] > linked_lathe.phoron_amount) check_materials = 0
|
||||
if("$uranium")
|
||||
if(D.materials[M] > linked_lathe.uranium_amount) check_materials = 0
|
||||
if("$diamond")
|
||||
@@ -787,11 +787,11 @@ won't update every console in existence) but it's more of a hassle to do. Also,
|
||||
if(linked_lathe.silver_amount >= 2000) dat += "<A href='?src=\ref[src];lathe_ejectsheet=silver;lathe_ejectsheet_amt=50'>(Max Sheets)</A>"
|
||||
dat += "<BR>"
|
||||
//Phoron
|
||||
dat += "* [linked_lathe.plasma_amount] cm<sup>3</sup> of Solid Phoron || "
|
||||
dat += "* [linked_lathe.phoron_amount] cm<sup>3</sup> of Solid Phoron || "
|
||||
dat += "Eject: "
|
||||
if(linked_lathe.plasma_amount >= 2000) dat += "<A href='?src=\ref[src];lathe_ejectsheet=plasma;lathe_ejectsheet_amt=1'>(1 Sheet)</A> "
|
||||
if(linked_lathe.plasma_amount >= 10000) dat += "<A href='?src=\ref[src];lathe_ejectsheet=plasma;lathe_ejectsheet_amt=5'>(5 Sheets)</A> "
|
||||
if(linked_lathe.plasma_amount >= 2000) dat += "<A href='?src=\ref[src];lathe_ejectsheet=plasmalathe_ejectsheet_amt=50'>(Max Sheets)</A>"
|
||||
if(linked_lathe.phoron_amount >= 2000) dat += "<A href='?src=\ref[src];lathe_ejectsheet=phoron;lathe_ejectsheet_amt=1'>(1 Sheet)</A> "
|
||||
if(linked_lathe.phoron_amount >= 10000) dat += "<A href='?src=\ref[src];lathe_ejectsheet=phoron;lathe_ejectsheet_amt=5'>(5 Sheets)</A> "
|
||||
if(linked_lathe.phoron_amount >= 2000) dat += "<A href='?src=\ref[src];lathe_ejectsheet=phoronlathe_ejectsheet_amt=50'>(Max Sheets)</A>"
|
||||
dat += "<BR>"
|
||||
//Uranium
|
||||
dat += "* [linked_lathe.uranium_amount] cm<sup>3</sup> of Uranium || "
|
||||
|
||||
@@ -188,10 +188,10 @@ datum/tech/engineering
|
||||
desc = "Development of new and improved engineering parts and."
|
||||
id = "engineering"
|
||||
|
||||
datum/tech/plasmatech
|
||||
datum/tech/phorontech
|
||||
name = "Phoron Research"
|
||||
desc = "Research into the mysterious substance colloqually known as 'plasma'."
|
||||
id = "plasmatech"
|
||||
desc = "Research into the mysterious substance colloqually known as 'phoron'."
|
||||
id = "phorontech"
|
||||
|
||||
datum/tech/powerstorage
|
||||
name = "Power Manipulation Technology"
|
||||
|
||||
@@ -20,11 +20,11 @@
|
||||
/obj/structure/crystal/Del()
|
||||
src.visible_message("\red<b>[src] shatters!</b>")
|
||||
if(prob(75))
|
||||
new /obj/item/weapon/shard/plasma(src.loc)
|
||||
new /obj/item/weapon/shard/phoron(src.loc)
|
||||
if(prob(50))
|
||||
new /obj/item/weapon/shard/plasma(src.loc)
|
||||
new /obj/item/weapon/shard/phoron(src.loc)
|
||||
if(prob(25))
|
||||
new /obj/item/weapon/shard/plasma(src.loc)
|
||||
new /obj/item/weapon/shard/phoron(src.loc)
|
||||
if(prob(75))
|
||||
new /obj/item/weapon/shard(src.loc)
|
||||
if(prob(50))
|
||||
|
||||
@@ -44,7 +44,7 @@ var/list/valid_secondary_effect_types = list(\
|
||||
/datum/artifact_effect/gasco2,\
|
||||
/datum/artifact_effect/gasnitro,\
|
||||
/datum/artifact_effect/gasoxy,\
|
||||
/datum/artifact_effect/gasplasma,\
|
||||
/datum/artifact_effect/gasphoron,\
|
||||
/* /datum/artifact_effect/gassleeping,\*/
|
||||
/datum/artifact_effect/goodfeeling,\
|
||||
/datum/artifact_effect/heal,\
|
||||
@@ -130,7 +130,7 @@ var/list/valid_secondary_effect_types = list(\
|
||||
//if either of our effects rely on environmental factors, work that out
|
||||
var/trigger_cold = 0
|
||||
var/trigger_hot = 0
|
||||
var/trigger_plasma = 0
|
||||
var/trigger_phoron = 0
|
||||
var/trigger_oxy = 0
|
||||
var/trigger_co2 = 0
|
||||
var/trigger_nitro = 0
|
||||
@@ -144,7 +144,7 @@ var/list/valid_secondary_effect_types = list(\
|
||||
trigger_hot = 1
|
||||
|
||||
if(env.toxins >= 10)
|
||||
trigger_plasma = 1
|
||||
trigger_phoron = 1
|
||||
if(env.oxygen >= 10)
|
||||
trigger_oxy = 1
|
||||
if(env.carbon_dioxide >= 10)
|
||||
@@ -177,7 +177,7 @@ var/list/valid_secondary_effect_types = list(\
|
||||
secondary_effect.ToggleActivate(0)
|
||||
|
||||
//PHORON GAS ACTIVATION
|
||||
if(trigger_plasma)
|
||||
if(trigger_phoron)
|
||||
if(my_effect.trigger == TRIGGER_PHORON && !my_effect.activated)
|
||||
my_effect.ToggleActivate()
|
||||
if(secondary_effect && secondary_effect.trigger == TRIGGER_PHORON && !secondary_effect.activated)
|
||||
@@ -262,7 +262,7 @@ var/list/valid_secondary_effect_types = list(\
|
||||
my_effect.ToggleActivate()
|
||||
if(secondary_effect && secondary_effect.trigger == TRIGGER_ACID && prob(25))
|
||||
secondary_effect.ToggleActivate(0)
|
||||
else if(W.reagents.has_reagent("plasma", 1) || W.reagents.has_reagent("thermite", 1))
|
||||
else if(W.reagents.has_reagent("phoron", 1) || W.reagents.has_reagent("thermite", 1))
|
||||
if(my_effect.trigger == TRIGGER_VOLATILE)
|
||||
my_effect.ToggleActivate()
|
||||
if(secondary_effect && secondary_effect.trigger == TRIGGER_VOLATILE && prob(25))
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
|
||||
/datum/artifact_effect/gasplasma
|
||||
effecttype = "gasplasma"
|
||||
/datum/artifact_effect/gasphoron
|
||||
effecttype = "gasphoron"
|
||||
var/max_pressure
|
||||
var/target_percentage
|
||||
|
||||
/datum/artifact_effect/gasplasma/New()
|
||||
/datum/artifact_effect/gasphoron/New()
|
||||
..()
|
||||
effect = pick(EFFECT_TOUCH, EFFECT_AURA)
|
||||
max_pressure = rand(115,1000)
|
||||
effect_type = pick(6,7)
|
||||
|
||||
/datum/artifact_effect/gasplasma/DoEffectTouch(var/mob/user)
|
||||
/datum/artifact_effect/gasphoron/DoEffectTouch(var/mob/user)
|
||||
if(holder)
|
||||
var/datum/gas_mixture/env = holder.loc.return_air()
|
||||
if(env)
|
||||
env.toxins += rand(2,15)
|
||||
|
||||
/datum/artifact_effect/gasplasma/DoEffectAura()
|
||||
/datum/artifact_effect/gasphoron/DoEffectAura()
|
||||
if(holder)
|
||||
var/datum/gas_mixture/env = holder.loc.return_air()
|
||||
if(env && env.total_moles < max_pressure)
|
||||
|
||||
@@ -203,8 +203,8 @@
|
||||
else if(prob(50))
|
||||
new_item = new /obj/item/weapon/tank/anesthetic(src.loc)
|
||||
else
|
||||
new_item = new /obj/item/weapon/tank/plasma(src.loc)
|
||||
icon_state = pick("oxygen","oxygen_fr","oxygen_f","plasma","anesthetic")
|
||||
new_item = new /obj/item/weapon/tank/phoron(src.loc)
|
||||
icon_state = pick("oxygen","oxygen_fr","oxygen_f","phoron","anesthetic")
|
||||
additional_desc = "It [pick("gloops","sloshes")] slightly when you shake it."
|
||||
if(13)
|
||||
item_type = "tool"
|
||||
@@ -224,7 +224,7 @@
|
||||
possible_spawns += /obj/item/stack/sheet/plasteel
|
||||
possible_spawns += /obj/item/stack/sheet/glass
|
||||
possible_spawns += /obj/item/stack/sheet/rglass
|
||||
possible_spawns += /obj/item/stack/sheet/mineral/plasma
|
||||
possible_spawns += /obj/item/stack/sheet/mineral/phoron
|
||||
possible_spawns += /obj/item/stack/sheet/mineral/mythril
|
||||
possible_spawns += /obj/item/stack/sheet/mineral/gold
|
||||
possible_spawns += /obj/item/stack/sheet/mineral/silver
|
||||
@@ -298,7 +298,7 @@
|
||||
if(prob(50))
|
||||
new_item = new /obj/item/weapon/shard(src.loc)
|
||||
else
|
||||
new_item = new /obj/item/weapon/shard/plasma(src.loc)
|
||||
new_item = new /obj/item/weapon/shard/phoron(src.loc)
|
||||
apply_prefix = 0
|
||||
apply_image_decorations = 0
|
||||
apply_material_decorations = 0
|
||||
@@ -477,7 +477,7 @@
|
||||
if(prob(30))
|
||||
descriptors.Add("is encircled with bands of [pick("quadrinium","cordite","ferritic-alloy","plasteel","duranium")]")
|
||||
if(prob(30))
|
||||
descriptors.Add("menaces with spikes of [pick("solid plasma","uranium","white pearl","black steel")]")
|
||||
descriptors.Add("menaces with spikes of [pick("solid phoron","uranium","white pearl","black steel")]")
|
||||
if(descriptors.len > 0)
|
||||
decorations = "It "
|
||||
for(var/index=1, index <= descriptors.len, index++)
|
||||
|
||||
@@ -119,7 +119,7 @@
|
||||
return "carbon"
|
||||
if(ARCHAEO_REMAINS_XENO)
|
||||
return "carbon"
|
||||
return "plasma"
|
||||
return "phoron"
|
||||
|
||||
//see /turf/simulated/mineral/New() in code/modules/mining/mine_turfs.dm
|
||||
/proc/get_random_digsite_type()
|
||||
@@ -215,7 +215,7 @@ var/list/responsive_carriers = list( \
|
||||
"iron", \
|
||||
"chlorine", \
|
||||
"phosphorus", \
|
||||
"plasma")
|
||||
"phoron")
|
||||
|
||||
var/list/finds_as_strings = list( \
|
||||
"Trace organic cells", \
|
||||
|
||||
@@ -1,39 +1,39 @@
|
||||
|
||||
/obj/item/weapon/shard/plasma
|
||||
name = "plasma shard"
|
||||
desc = "A shard of plasma glass. Considerably tougher then normal glass shards. Apparently not tough enough to be a window."
|
||||
/obj/item/weapon/shard/phoron
|
||||
name = "phoron shard"
|
||||
desc = "A shard of phoron glass. Considerably tougher then normal glass shards. Apparently not tough enough to be a window."
|
||||
force = 8.0
|
||||
throwforce = 15.0
|
||||
icon_state = "plasmalarge"
|
||||
/obj/item/weapon/shard/plasma/New()
|
||||
icon_state = "phoronlarge"
|
||||
/obj/item/weapon/shard/phoron/New()
|
||||
|
||||
src.icon_state = pick("plasmalarge", "plasmamedium", "plasmasmall")
|
||||
src.icon_state = pick("phoronlarge", "phoronmedium", "phoronsmall")
|
||||
switch(src.icon_state)
|
||||
if("plasmasmall")
|
||||
if("phoronsmall")
|
||||
src.pixel_x = rand(-12, 12)
|
||||
src.pixel_y = rand(-12, 12)
|
||||
if("plasmamedium")
|
||||
if("phoronmedium")
|
||||
src.pixel_x = rand(-8, 8)
|
||||
src.pixel_y = rand(-8, 8)
|
||||
if("plasmalarge")
|
||||
if("phoronlarge")
|
||||
src.pixel_x = rand(-5, 5)
|
||||
src.pixel_y = rand(-5, 5)
|
||||
else
|
||||
return
|
||||
|
||||
/obj/item/weapon/shard/plasma/attackby(obj/item/weapon/W as obj, mob/user as mob)
|
||||
/obj/item/weapon/shard/phoron/attackby(obj/item/weapon/W as obj, mob/user as mob)
|
||||
..()
|
||||
if ( istype(W, /obj/item/weapon/weldingtool))
|
||||
var/obj/item/weapon/weldingtool/WT = W
|
||||
if(WT.remove_fuel(0, user))
|
||||
var/obj/item/stack/sheet/glass/plasmaglass/NG = new (user.loc)
|
||||
for (var/obj/item/stack/sheet/glass/plasmaglass/G in user.loc)
|
||||
var/obj/item/stack/sheet/glass/phoronglass/NG = new (user.loc)
|
||||
for (var/obj/item/stack/sheet/glass/phoronglass/G in user.loc)
|
||||
if(G==NG)
|
||||
continue
|
||||
if(G.amount>=G.max_amount)
|
||||
continue
|
||||
G.attackby(NG, user)
|
||||
usr << "You add the newly-formed plasma glass to the stack. It now contains [NG.amount] sheets."
|
||||
usr << "You add the newly-formed phoron glass to the stack. It now contains [NG.amount] sheets."
|
||||
//SN src = null
|
||||
del(src)
|
||||
return
|
||||
|
||||
@@ -89,13 +89,13 @@
|
||||
age_thousand = rand(1,999)
|
||||
age_million = rand(1,999)
|
||||
age_billion = rand(10, 13)
|
||||
find_presence["plasma"] = rand(1,1000) / 100
|
||||
source_mineral = "plasma"
|
||||
find_presence["phoron"] = rand(1,1000) / 100
|
||||
source_mineral = "phoron"
|
||||
if("Clown")
|
||||
age = rand(-1,-999) //thats the joke
|
||||
age_thousand = rand(-1,-999)
|
||||
find_presence["plasma"] = rand(1,1000) / 100
|
||||
source_mineral = "plasma"
|
||||
find_presence["phoron"] = rand(1,1000) / 100
|
||||
source_mineral = "phoron"
|
||||
|
||||
if(prob(75))
|
||||
find_presence["phosphorus"] = rand(1,500) / 100
|
||||
|
||||
@@ -135,16 +135,16 @@
|
||||
Structure is composed of a carbo-titanium alloy with interlaced reinforcing energy fields, and the contained liquid \
|
||||
resembles proto-plasmic residue supportive of single cellular developmental conditions."
|
||||
if(/obj/machinery/power/supermatter)
|
||||
return "Super dense plasma clump - Appears to have been shaped or hewn, structure is composed of matter 2000% denser than ordinary carbon matter residue.\
|
||||
Potential application as unrefined plasma source."
|
||||
return "Super dense phoron clump - Appears to have been shaped or hewn, structure is composed of matter 2000% denser than ordinary carbon matter residue.\
|
||||
Potential application as unrefined phoron source."
|
||||
if(/obj/machinery/power/supermatter)
|
||||
return "Super dense plasma clump - Appears to have been shaped or hewn, structure is composed of matter 2000% denser than ordinary carbon matter residue.\
|
||||
Potential application as unrefined plasma source."
|
||||
return "Super dense phoron clump - Appears to have been shaped or hewn, structure is composed of matter 2000% denser than ordinary carbon matter residue.\
|
||||
Potential application as unrefined phoron source."
|
||||
if(/obj/structure/constructshell)
|
||||
return "Tribal idol - Item resembles statues/emblems built by superstitious pre-warp civilisations to honour their gods. Material appears to be a \
|
||||
rock/plastcrete composite."
|
||||
if(/obj/machinery/giga_drill)
|
||||
return "Automated mining drill - structure composed of titanium-carbide alloy, with tip and drill lines edged in an alloy of diamond and plasma."
|
||||
return "Automated mining drill - structure composed of titanium-carbide alloy, with tip and drill lines edged in an alloy of diamond and phoron."
|
||||
if(/obj/structure/cult/pylon)
|
||||
return "Tribal pylon - Item resembles statues/emblems built by cargo cult civilisations to honour energy systems from post-warp civilisations."
|
||||
if(/obj/mecha/working/hoverpod)
|
||||
|
||||
@@ -88,8 +88,8 @@
|
||||
dat += "[field_type=="mercury"?"<b>":"" ]<A href='?src=\ref[src];select_field=mercury'>Mercury dispersion wave</A></b><br>"
|
||||
dat += "[field_type=="iron"?"<b>":"" ]<A href='?src=\ref[src];select_field=iron'>Iron wafer conduction field</A></b><br>"
|
||||
dat += "[field_type=="calcium"?"<b>":"" ]<A href='?src=\ref[src];select_field=calcium'>Calcium binary deoxidiser</A></b><br>"
|
||||
dat += "[field_type=="plasma"?"<b>":"" ]<A href='?src=\ref[src];select_field=chlorine'>Chlorine diffusion emissions</A></b><br>"
|
||||
dat += "[field_type=="plasma"?"<b>":"" ]<A href='?src=\ref[src];select_field=plasma'>Phoron saturated field</A></b><br>"
|
||||
dat += "[field_type=="phoron"?"<b>":"" ]<A href='?src=\ref[src];select_field=chlorine'>Chlorine diffusion emissions</A></b><br>"
|
||||
dat += "[field_type=="phoron"?"<b>":"" ]<A href='?src=\ref[src];select_field=phoron'>Phoron saturated field</A></b><br>"
|
||||
else
|
||||
dat += "<br>"
|
||||
dat += "<br>"
|
||||
@@ -258,7 +258,7 @@
|
||||
if("potassium")
|
||||
success = 1
|
||||
//
|
||||
if("plasma")
|
||||
if("phoron")
|
||||
success = 1
|
||||
//
|
||||
if("calcium")
|
||||
|
||||
Reference in New Issue
Block a user