Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reticulite #37357

Open
wants to merge 139 commits into
base: Bleeding-Edge
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 53 commits
Commits
Show all changes
139 commits
Select commit Hold shift + click to select a range
d845347
basic stuff for all this
SECBATON-GRIFFON Oct 31, 2024
51123b3
zeta dust
SECBATON-GRIFFON Oct 31, 2024
302696c
no space for consistency
SECBATON-GRIFFON Oct 31, 2024
2246995
makes zeta dust SCOURGE wounded limbs
SECBATON-GRIFFON Oct 31, 2024
29bba09
no blood mobs not affected either!
SECBATON-GRIFFON Oct 31, 2024
3c8ddf7
adds this. note to self: make it ignore any grey blood if possible
SECBATON-GRIFFON Oct 31, 2024
4822e6d
amount of blood in body affects damage too
SECBATON-GRIFFON Oct 31, 2024
159690a
cleaner
SECBATON-GRIFFON Oct 31, 2024
1faab7d
consistency
SECBATON-GRIFFON Oct 31, 2024
c2e9ddf
spaces for clarity
SECBATON-GRIFFON Oct 31, 2024
fba441e
more fun
SECBATON-GRIFFON Oct 31, 2024
7d286a3
oh so it actually works
SECBATON-GRIFFON Oct 31, 2024
4e367ae
some ayy research
SECBATON-GRIFFON Oct 31, 2024
3ece0a3
caps
SECBATON-GRIFFON Oct 31, 2024
f3ec4e6
some mats to be gained!
SECBATON-GRIFFON Oct 31, 2024
17a89cf
ups this, for fun stuff later
SECBATON-GRIFFON Oct 31, 2024
14a9bcb
so it can solidify again
SECBATON-GRIFFON Oct 31, 2024
07cb561
zeptobots!
SECBATON-GRIFFON Oct 31, 2024
08792d7
bonus
SECBATON-GRIFFON Oct 31, 2024
171e2d6
reduction
SECBATON-GRIFFON Oct 31, 2024
b600f45
scientists supreme secret
SECBATON-GRIFFON Oct 31, 2024
966f0c5
top secret!
SECBATON-GRIFFON Oct 31, 2024
e9e289a
fixed
SECBATON-GRIFFON Oct 31, 2024
fcc188d
FIX
SECBATON-GRIFFON Oct 31, 2024
9dc5f52
forgot this...
SECBATON-GRIFFON Oct 31, 2024
ae5cde6
fixes plural
SECBATON-GRIFFON Oct 31, 2024
67753ae
slight bump
SECBATON-GRIFFON Oct 31, 2024
bd4ceee
nevermind
SECBATON-GRIFFON Oct 31, 2024
5f3a14c
sure, why not
SECBATON-GRIFFON Oct 31, 2024
75e87e9
gives the hivehand something, if you can find a way to put it in there
SECBATON-GRIFFON Oct 31, 2024
295d02a
the alien mech!
SECBATON-GRIFFON Oct 31, 2024
0f84982
todo: find a way to get this activated
SECBATON-GRIFFON Oct 31, 2024
9ba08d5
Merge branch 'Bleeding-Edge' into reticulite
SECBATON-GRIFFON Oct 31, 2024
e639789
sorry guys, no reticulite from cargo. go a bit further and get some
SECBATON-GRIFFON Oct 31, 2024
6ffbc52
updated sprite
SECBATON-GRIFFON Oct 31, 2024
0bd42fe
done in sprite already
SECBATON-GRIFFON Oct 31, 2024
bcd57eb
ayy stock parts
SECBATON-GRIFFON Oct 31, 2024
b19fbb6
extra one
SECBATON-GRIFFON Oct 31, 2024
8b8ada5
floor tiles
SECBATON-GRIFFON Oct 31, 2024
4721b98
space for them...
SECBATON-GRIFFON Oct 31, 2024
ecaf222
the floors themselves!
SECBATON-GRIFFON Oct 31, 2024
b880c6b
reticulite floors ignore magboot slowdown!
SECBATON-GRIFFON Oct 31, 2024
e6277a8
puts it here
SECBATON-GRIFFON Oct 31, 2024
e030349
gives unique icon
SECBATON-GRIFFON Oct 31, 2024
56a89cb
unique desc
SECBATON-GRIFFON Oct 31, 2024
231a0f3
Merge branch 'Bleeding-Edge' into reticulite
SECBATON-GRIFFON Nov 3, 2024
45769c7
adds new kind of prober
SECBATON-GRIFFON Nov 3, 2024
7bccbc6
does other hand too
SECBATON-GRIFFON Nov 3, 2024
02087aa
less copypasted desc
SECBATON-GRIFFON Nov 3, 2024
2d22b8a
Merge branch 'Bleeding-Edge' into reticulite
SECBATON-GRIFFON Dec 30, 2024
1ed21b6
adds to mecha graveyard
SECBATON-GRIFFON Dec 30, 2024
843a3c5
and here
SECBATON-GRIFFON Dec 30, 2024
6dd12da
forgot to hit save, HERE
SECBATON-GRIFFON Dec 30, 2024
0b9d06c
coding base, needs tuning and sprites
SECBATON-GRIFFON Dec 31, 2024
4ba7bf5
circuits
SECBATON-GRIFFON Dec 31, 2024
9ce2fd0
implementing suggestion
SECBATON-GRIFFON Dec 31, 2024
dde0968
icons for building the chassis
SECBATON-GRIFFON Dec 31, 2024
26771ae
accessible from mech fab now
SECBATON-GRIFFON Dec 31, 2024
e67b1a2
base icons for these, should now be practically functional to build t…
SECBATON-GRIFFON Dec 31, 2024
7a91dd7
more unique steps
SECBATON-GRIFFON Dec 31, 2024
34c66bd
trimming
SECBATON-GRIFFON Dec 31, 2024
295ec29
sprites updated and done
SECBATON-GRIFFON Dec 31, 2024
c1da2f5
so this shows up right
SECBATON-GRIFFON Dec 31, 2024
8505c24
might fix this
SECBATON-GRIFFON Dec 31, 2024
4112dec
adds these, they dont do anything yet though
SECBATON-GRIFFON Dec 31, 2024
f08302a
for easier testing
SECBATON-GRIFFON Dec 31, 2024
36443e0
codes this
SECBATON-GRIFFON Dec 31, 2024
c8c69e1
adds the iterator
SECBATON-GRIFFON Dec 31, 2024
6f3c2dc
skeleton code for prober
SECBATON-GRIFFON Dec 31, 2024
610e527
does this to cows anyways
SECBATON-GRIFFON Dec 31, 2024
10bd453
cleanup
SECBATON-GRIFFON Dec 31, 2024
0a0b3d5
thing now coded
SECBATON-GRIFFON Dec 31, 2024
1583d2b
just to be sure
SECBATON-GRIFFON Dec 31, 2024
0913418
sanity
SECBATON-GRIFFON Dec 31, 2024
cb64829
called here
SECBATON-GRIFFON Dec 31, 2024
84bad0d
some do_afters as necessary
SECBATON-GRIFFON Dec 31, 2024
945989c
knocks out whoever's inside, for probing
SECBATON-GRIFFON Dec 31, 2024
0d06842
extra space removed
SECBATON-GRIFFON Dec 31, 2024
e3e7b8f
vreemdkoekje recipe
SECBATON-GRIFFON Dec 31, 2024
a742857
reticulite coin!
SECBATON-GRIFFON Dec 31, 2024
ed1caae
for test sake
SECBATON-GRIFFON Dec 31, 2024
e280780
oh right it's here
SECBATON-GRIFFON Dec 31, 2024
377cf67
vreemdkoekje icon
SECBATON-GRIFFON Dec 31, 2024
a55283b
new icon for these
SECBATON-GRIFFON Dec 31, 2024
8adf2c5
glows in the dark
SECBATON-GRIFFON Dec 31, 2024
4b22687
better syntax
SECBATON-GRIFFON Dec 31, 2024
04a6012
some fun applications
SECBATON-GRIFFON Dec 31, 2024
76f0c89
fun use for the coin!
SECBATON-GRIFFON Dec 31, 2024
bb90b97
zetarot
SECBATON-GRIFFON Dec 31, 2024
696487e
recipe update
SECBATON-GRIFFON Dec 31, 2024
fae8eb8
new result amount
SECBATON-GRIFFON Dec 31, 2024
8e02841
nerf a bit
SECBATON-GRIFFON Dec 31, 2024
6f7cca8
proper vreemdicon
SECBATON-GRIFFON Dec 31, 2024
e747106
actually gives the correct ID
SECBATON-GRIFFON Dec 31, 2024
bb557fd
fixes formatting
SECBATON-GRIFFON Dec 31, 2024
34d29e4
okay fine, here's your unique icon
SECBATON-GRIFFON Dec 31, 2024
aa09e6a
oh right this one animates
SECBATON-GRIFFON Dec 31, 2024
61c8d24
so they can fly over them
SECBATON-GRIFFON Dec 31, 2024
b4e4a35
cuts this down
SECBATON-GRIFFON Dec 31, 2024
c72b90d
can't use this var
SECBATON-GRIFFON Dec 31, 2024
8a676e8
should help it show up?
SECBATON-GRIFFON Dec 31, 2024
c853e38
makes this easier
SECBATON-GRIFFON Dec 31, 2024
cc03cdc
oh i have to add it HERE
SECBATON-GRIFFON Dec 31, 2024
c6b51d3
hides this
SECBATON-GRIFFON Dec 31, 2024
9e5a708
FIXES THIS
SECBATON-GRIFFON Dec 31, 2024
f88b26d
lotta fixes
SECBATON-GRIFFON Dec 31, 2024
1416f1c
sanity
SECBATON-GRIFFON Dec 31, 2024
2b2c3ff
adds this!
SECBATON-GRIFFON Dec 31, 2024
9d2e03f
icons for these, finally!
SECBATON-GRIFFON Dec 31, 2024
951c806
just to make this work
SECBATON-GRIFFON Jan 1, 2025
75d70c1
sanity
SECBATON-GRIFFON Jan 1, 2025
b0390d4
just for cleanliness
SECBATON-GRIFFON Jan 1, 2025
2b230d9
fixes runtime, hovers it over mobs right
SECBATON-GRIFFON Jan 1, 2025
72ead37
abduuuct
SECBATON-GRIFFON Jan 1, 2025
26f230a
removes these, they didn't work before this PR but just to keep them …
SECBATON-GRIFFON Jan 1, 2025
76ad6d7
animation looks good! now the timing is tweaked. maybe it could use a…
SECBATON-GRIFFON Jan 1, 2025
e2a25c5
don't need this
SECBATON-GRIFFON Jan 1, 2025
4e5d344
bit shorter
SECBATON-GRIFFON Jan 1, 2025
1960972
WE ARE IN THE BEAM
SECBATON-GRIFFON Jan 1, 2025
aa98cb3
might fix the construction icon issue
SECBATON-GRIFFON Jan 1, 2025
c841ba1
graveyard roswell
SECBATON-GRIFFON Jan 1, 2025
c4cadda
sanity to stop spamming of this
SECBATON-GRIFFON Jan 1, 2025
a19cd85
hopefully fixes it, hotfix, will look into a cutdown soon
SECBATON-GRIFFON Jan 1, 2025
da171d8
code cutdown ho!
SECBATON-GRIFFON Jan 1, 2025
89587d3
fix
SECBATON-GRIFFON Jan 1, 2025
79ccef4
runtime fix
SECBATON-GRIFFON Jan 1, 2025
d363242
i prefer this
SECBATON-GRIFFON Jan 1, 2025
0a0bb37
and kicks them out too
SECBATON-GRIFFON Jan 1, 2025
4c76e12
cleaner output
SECBATON-GRIFFON Jan 1, 2025
feced95
more messages
SECBATON-GRIFFON Jan 1, 2025
6007685
sanity on this var
SECBATON-GRIFFON Jan 1, 2025
73a1f3c
tweaks these values, finally
SECBATON-GRIFFON Jan 1, 2025
ab257c1
was doing it wrong, fixed now
SECBATON-GRIFFON Jan 1, 2025
d984336
sane
SECBATON-GRIFFON Jan 1, 2025
9d33a64
dunno how i forgot this
SECBATON-GRIFFON Jan 1, 2025
9e882bc
bump these up i guess, makes more sense
SECBATON-GRIFFON Jan 1, 2025
a26469f
sounds!
SECBATON-GRIFFON Jan 1, 2025
444d5e1
no sound spam if no move was successful
SECBATON-GRIFFON Jan 1, 2025
d8ca8df
don't need this anymore!
SECBATON-GRIFFON Jan 1, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions __DEFINES/materials.dm
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#define MAT_CERENKITE "$cerenkite"
#define MAT_MOLITZ "$molitz"
#define MAT_GINGERBREAD "$gingerbread"
#define MAT_RETICULITE "$reticulite"


#define VALUE_MISC 0.1
Expand Down Expand Up @@ -87,5 +88,6 @@
#define CC_PER_SHEET_CERENKITE CC_PER_SHEET_METAL
#define CC_PER_SHEET_MOLITZ CC_PER_SHEET_METAL
#define CC_PER_SHEET_GINGERBREAD CC_PER_SHEET_METAL
#define CC_PER_SHEET_RETICULITE CC_PER_SHEET_DIAMOND

#define CC_PER_U 10 //How many cc per 1 u of reagent in eg. a glass of water or a human's bloodstream.
4 changes: 4 additions & 0 deletions __DEFINES/reagents.dm
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
#define VIRUSFOOD "virusfood"
#define STERILIZINE "sterilizine"
#define IRON "iron"
#define ZETADUST "zetadust"
#define GOLD "gold"
#define SILVER "silver"
#define URANIUM "uranium"
Expand Down Expand Up @@ -142,6 +143,8 @@
#define NANOBOTS "nanobots"
#define MEDNANOBOTS "mednanobots"
#define COMNANOBOTS "comnanobots"
#define ZEPTOBOTS "zeptobots"
#define GREYZEPTOBOTS "greyzeptobots"
#define FLUOROSURFACTANT "fluorosurfactant"
#define PICCOLYN "piccolyn"
#define NICOTINE "nicotine"
Expand Down Expand Up @@ -439,6 +442,7 @@
#define METASTABLE_MUTAGEN "metastable"
#define ELECTRIC_SHEEP "electric_sheep"
#define SCIENTISTS_SERENDIPITY "scientists_serendipity"
#define SCIENTISTS_SUPREMESECRET "scientists_supreme_secret"
#define METABUDDY "metabuddy"
#define SPIDERS "spiders"
#define WEED_EATER "weed_eater"
Expand Down
1 change: 1 addition & 0 deletions __DEFINES/research_levels.dm
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
#define Tc_POWERSTORAGE "powerstorage"
#define Tc_NANOTRASEN "nanotrasen"
#define Tc_ANOMALY "anomaly"
#define Tc_ALIEN "xenotech"
6 changes: 3 additions & 3 deletions code/datums/supply_packs/clothing.dm
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
/obj/item/weapon/tank/oxygen/red,
/obj/item/clothing/mask/gas/mothership)
cost = 175
containertype = /obj/structure/closet/crate/ayy
containertype = /obj/structure/closet/crate/ayy/metal
containername = "grey Space-Ex crate"
group = "Clothing"
containsdesc = "Contains a space-worthy softsuit that is perfectly fitted for a grey. Includes a fancy red oxygen tank!"
Expand All @@ -309,7 +309,7 @@
/obj/item/clothing/shoes/jackboots/mothership,
/obj/item/clothing/shoes/jackboots/mothership)
cost = 50
containertype = /obj/structure/closet/ayy
containertype = /obj/structure/closet/ayy/metal
containername = "mothership uniform locker"
containsicon = "grey_uniform"
containsdesc = "A batch of clothing from the grey mothership. Comes with either two outfits for workers, or two outfits for researchers. Whatever they had extra."
Expand All @@ -328,7 +328,7 @@
/obj/item/weapon/tank/emergency_oxygen/engi,
/obj/item/weapon/tank/emergency_oxygen/engi)
cost = 40
containertype = /obj/structure/closet/crate/ayy3
containertype = /obj/structure/closet/crate/ayy3/metal
containername = "GDR half-mask crate"
contraband = 1
group = "Clothing"
Expand Down
8 changes: 4 additions & 4 deletions code/datums/supply_packs/security.dm
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@

/datum/supply_packs/greyweapons
name = "MDF surplus weapons"
contains = list(/obj/item/weapon/melee/stunprobe,
/obj/item/weapon/melee/stunprobe,
contains = list(/obj/item/weapon/melee/baton/loaded/probe,
/obj/item/weapon/melee/baton/loaded/probe,
/obj/item/weapon/gun/energy/smalldisintegrator,
/obj/item/weapon/gun/energy/smalldisintegrator)
cost = 60
Expand Down Expand Up @@ -141,7 +141,7 @@
/obj/item/clothing/head/helmet/mothership,
/obj/item/clothing/head/helmet/mothership)
cost = 60
containertype = /obj/structure/closet/secure_closet/ayy2
containertype = /obj/structure/closet/secure_closet/ayy2/metal
containername = "MDF standard armor locker"
one_access = list(access_security, access_mothership_military)
group = "Security"
Expand Down Expand Up @@ -170,7 +170,7 @@
/obj/item/clothing/head/helmet/mothership_explorer,
/obj/item/clothing/head/helmet/mothership_explorer)
cost = 60
containertype = /obj/structure/closet/secure_closet/ayy
containertype = /obj/structure/closet/secure_closet/ayy/metal
containername = "GDR explorer armor locker"
one_access = list(access_security, access_mothership_military)
group = "Security"
Expand Down
14 changes: 7 additions & 7 deletions code/game/machinery/recharger.dm
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
if(!anchored)
to_chat(user, "<span class='warning'>You must secure \the [src] before you can make use of it!</span>")
return 1
if(istype(G, /obj/item/weapon/gun/energy) || istype(G, /obj/item/weapon/melee/baton) || istype(G, /obj/item/weapon/melee/stunprobe) || istype(G, /obj/item/energy_magazine) || istype(G, /obj/item/ammo_storage/magazine/lawgiver) || istype(G, /obj/item/weapon/rcs) || istype(G, /obj/item/clothing/head/helmet/stun))
if(istype(G, /obj/item/weapon/gun/energy) || istype(G, /obj/item/weapon/melee/baton) || istype(G, /obj/item/weapon/melee/baton/loaded/probe) || istype(G, /obj/item/energy_magazine) || istype(G, /obj/item/ammo_storage/magazine/lawgiver) || istype(G, /obj/item/weapon/rcs) || istype(G, /obj/item/clothing/head/helmet/stun))
if (istype(G, /obj/item/weapon/gun/energy))
var/obj/item/weapon/gun/energy/gun = G
if (!gun.rechargeable)
Expand Down Expand Up @@ -235,8 +235,8 @@
has_beeped = TRUE
else
icon_state = "recharger0"
else if(istype(charging, /obj/item/weapon/melee/stunprobe)) //25e power loss is so minor that the game shouldn't bother calculating the efficiency of better parts for it
var/obj/item/weapon/melee/stunprobe/B = charging
else if(istype(charging, /obj/item/weapon/melee/baton/loaded/probe)) //25e power loss is so minor that the game shouldn't bother calculating the efficiency of better parts for it
var/obj/item/weapon/melee/baton/loaded/probe/B = charging
if(B.bcell)
if(B.bcell.give(175*charging_speed_modifier))
icon_state = "recharger1"
Expand Down Expand Up @@ -291,8 +291,8 @@
if(E.power_supply)
E.power_supply.emp_act(severity)

if(istype(charging, /obj/item/weapon/melee/stunprobe))
var/obj/item/weapon/melee/stunprobe/B = charging
if(istype(charging, /obj/item/weapon/melee/baton/loaded/probe))
var/obj/item/weapon/melee/baton/loaded/probe/B = charging
if(B.bcell)
B.bcell.charge = 0

Expand Down Expand Up @@ -365,8 +365,8 @@
icon_state = "wrecharger2"
else
icon_state = "wrecharger3"
if(istype(charging, /obj/item/weapon/melee/stunprobe))
var/obj/item/weapon/melee/stunprobe/B = charging
if(istype(charging, /obj/item/weapon/melee/baton/loaded/probe))
var/obj/item/weapon/melee/baton/loaded/probe/B = charging
if(B.bcell)
if(B.bcell.give(175))
icon_state = "wrecharger1"
Expand Down
33 changes: 33 additions & 0 deletions code/game/mecha/combat/roswell.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/obj/mecha/combat/roswell
desc = "An exosuit from another world."
name = "Roswell"
icon_state = "roswell"
initial_icon = "roswell"
step_in = 1
dir_in = 1 //Facing North.
health = 300
deflect_chance = 15
damage_absorption = list("brute"=0.75,"fire"=1,"bullet"=0.8,"laser"=0.7,"energy"=0.85,"bomb"=1)
max_temperature = 25000
infra_luminosity = 6
wreckage = /obj/effect/decal/mecha_wreckage/roswell
internal_damage_threshold = 35
max_equip = 3

/obj/mecha/combat/roswell/mechturn(direction)
dir = direction
return 1

/obj/mecha/combat/roswell/mechstep(direction)
return step(src,direction)

/obj/mecha/combat/roswell/mechsteprand()
return step_rand(src)

/obj/mecha/combat/roswell/Process_Spacemove(var/check_drift = 0) //invaders from outer spaaace
return TRUE

/obj/effect/decal/mecha_wreckage/roswell
name = "downed weather balloon"
desc = "Seems legit"
icon_state = "roswell-broken"
38 changes: 38 additions & 0 deletions code/game/objects/items/stacks/sheets/mineral.dm
Original file line number Diff line number Diff line change
Expand Up @@ -604,3 +604,41 @@ var/list/datum/stack_recipe/gingerbread_recipes = list ( \
/obj/item/stack/sheet/mineral/gingerbread/New(var/loc, var/amount=null)
recipes = gingerbread_recipes
..()

/obj/item/stack/sheet/mineral/reticulite
name = "reticulite"
desc = "Abducted from distant mines you've probably been nowhere near. At least as far as you remember."
singular_name = "reticulite plate"
icon_state = "sheet-reticulite"
force = 5.0
throwforce = 5
w_class = W_CLASS_MEDIUM
throw_speed = 3
throw_range = 3
origin_tech = Tc_MATERIALS + "=5" + Tc_ALIEN + "=1"
perunit = CC_PER_SHEET_RETICULITE
mat_type = MAT_RETICULITE
starting_materials = list(MAT_RETICULITE = CC_PER_SHEET_RETICULITE)

var/list/datum/stack_recipe/reticulite_recipes = list(
new/datum/stack_recipe("floor tile", /obj/item/stack/tile/mineral/reticulite, 1, 4, 60),
new/datum/stack_recipe("ornate floor tile", /obj/item/stack/tile/mineral/reticulite/fancy, 1, 4, 60),
null,
new/datum/stack_recipe("GDR closet", /obj/structure/closet/ayy, 2, one_per_turf = 1, time = 15),
new/datum/stack_recipe("MDF closet", /obj/structure/closet/ayy2, 2, one_per_turf = 1, time = 15),
new/datum/stack_recipe("Laborer closet", /obj/structure/closet/ayy3, 2, one_per_turf = 1, time = 15),
null,
new/datum/stack_recipe("GDR crate", /obj/structure/closet/crate/ayy, 2, one_per_turf = 1, time = 15),
new/datum/stack_recipe("MDF crate", /obj/structure/closet/crate/ayy2, 2, one_per_turf = 1, time = 15),
new/datum/stack_recipe("MDF industrial crate", /obj/structure/closet/crate/ayy3, 2, one_per_turf = 1, time = 15),
null,
new/datum/stack_recipe/chair("GDR basic chair", /obj/structure/bed/chair/comfy/ayy1, 1, one_per_turf = 1, on_floor = 1),
new/datum/stack_recipe("GDR basic bed", /obj/structure/bed/ayy1, 2, one_per_turf = 1, on_floor = 1),
)

/obj/item/stack/sheet/mineral/reticulite/New(var/loc, var/amount=null)
recipes = reticulite_recipes
..()

/obj/item/stack/sheet/mineral/reticulite/dissolvable()
return WATER
19 changes: 19 additions & 0 deletions code/game/objects/items/stacks/tiles/mineral.dm
Original file line number Diff line number Diff line change
Expand Up @@ -213,5 +213,24 @@

material = "gingerbread"

/obj/item/stack/tile/mineral/reticulite
name = "reticulite tile"
singular_name = "reticulite floor tile"
desc = "A hexagonally shaped tile made out of reticulite."
icon_state = "tile_reticulite"
w_class = W_CLASS_MEDIUM
force = 1.0
throwforce = 1.0
throw_speed = 3
throw_range = 7
max_amount = 60

material = "alien_tile1"
starting_materials = list(MAT_RETICULITE = CC_PER_SHEET_RETICULITE / 4) // Recipe requires 1 sheet for 4 tiles
w_type = RECYK_METAL

/obj/item/stack/tile/mineral/reticulite/fancy
name = "ornate reticulite tile"
icon_state = "tile_fancyreticulite"
desc = "A refined, chiseled and normal shaped tile made out of reticulite."
material = "alien_tile_fancy"
31 changes: 30 additions & 1 deletion code/game/objects/items/weapons/stock_parts.dm
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@
rating = 4
starting_materials = list(MAT_IRON = 50, MAT_GLASS = 20, MAT_SILVER = 10, MAT_PHAZON = 5)


// Subspace stock parts

/obj/item/weapon/stock_parts/subspace/ansible
Expand Down Expand Up @@ -304,3 +303,33 @@
desc = "A large piece of equipment used to open a window into the subspace dimension."
origin_tech = Tc_MAGNETS + "=5;" + Tc_MATERIALS + "=5;" + Tc_BLUESPACE + "=3"
starting_materials = list(MAT_IRON = 50)

// ayylium stock parts

/obj/item/weapon/stock_parts/ayy/abductor
name = "zepto abductor"
icon_state = "subspace_transmitter"
desc = "Alien electronics used to pull things towards itself."
origin_tech = Tc_MAGNETS + "=5;" + Tc_MATERIALS + "=5;" + Tc_ALIEN + "=2"
starting_materials = list(MAT_URANIUM = 50, MAT_RETICULITE = 50)

/obj/item/weapon/stock_parts/ayy/gravitator
name = "gravitation module"
icon_state = "subspace_transmitter"
desc = "Alien device used to suspend gravity around itself."
origin_tech = Tc_MAGNETS + "=5;" + Tc_MATERIALS + "=5;" + Tc_ALIEN + "=2"
starting_materials = list(MAT_GOLD = 50, MAT_RETICULITE = 50)

/obj/item/weapon/stock_parts/ayy/scrambler
name = "zepto scrambler"
icon_state = "subspace_transmitter"
desc = "Alien instrument used to scramble the material composition of things."
origin_tech = Tc_PROGRAMMING + "=4;" + Tc_MATERIALS + "=5;" + Tc_ALIEN + "=2"
starting_materials = list(MAT_DIAMOND = 50, MAT_RETICULITE = 50)

/obj/item/weapon/stock_parts/ayy/prober
name = "probing module"
icon_state = "subspace_transmitter"
desc = "Alien module used to probe things for inspection."
origin_tech = Tc_PROGRAMMING + "=4;" + Tc_MATERIALS + "=5;" + Tc_ALIEN + "=2"
starting_materials = list(MAT_SILVER = 50, MAT_RETICULITE = 50)
40 changes: 19 additions & 21 deletions code/game/objects/items/weapons/stunbaton.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "stun baton"
desc = "A stun baton for incapacitating people with."
icon_state = "stun baton"
item_state = "baton0"
item_state = "baton"
inhand_states = list("left_hand" = 'icons/mob/in-hand/left/swords_axes.dmi', "right_hand" = 'icons/mob/in-hand/right/swords_axes.dmi')
flags = FPRINT
slot_flags = SLOT_BELT
Expand All @@ -17,6 +17,9 @@
var/hitcost = 100 // 10 hits on crap cell
var/stunsound = 'sound/weapons/Egloves.ogg'
var/swingsound = "swing_hit"
var/vismsg = TRUE
var/openable = TRUE
var/attacklogverb = "stunned"

/obj/item/weapon/melee/baton/get_cell()
return bcell
Expand Down Expand Up @@ -60,15 +63,8 @@


/obj/item/weapon/melee/baton/update_icon()
if(status)
icon_state = "[initial(name)]_active"
item_state = "baton1"
else if(!bcell)
icon_state = "[initial(name)]_nocell"
item_state = "baton0"
else
icon_state = "[initial(name)]"
item_state = "baton0"
icon_state = "[initial(name)][status ? "_active" : bcell ? "" : "_nocell"]"
item_state = "[initial(item_state)][status ? "-on" : ""]"

if (istype(loc,/mob/living/carbon))
var/mob/living/carbon/M = loc
Expand All @@ -92,7 +88,7 @@
else
to_chat(user, "<span class='notice'>[src] already has a cell.</span>")

else if(W.is_screwdriver(user))
else if(W.is_screwdriver(user) && openable)
if(bcell)
bcell.updateicon()
bcell.forceMove(get_turf(src.loc))
Expand Down Expand Up @@ -197,18 +193,19 @@

apply_baton_effect(L)

L.visible_message("<span class='danger'>\The [L] has been stunned with \the [src] by [user]!</span>",\
"<span class='userdanger'>You have been stunned with \the [src] by \the [user]!</span>",\
self_drugged_message="<span class='userdanger'>\The [user]'s [src] sucks the life right out of you!</span>")
if(vismsg)
L.visible_message("<span class='danger'>\The [L] has been [attacklogverb] with \the [src] by [user]!</span>",\
"<span class='userdanger'>You have been [attacklogverb] with \the [src] by \the [user]!</span>",\
self_drugged_message="<span class='userdanger'>\The [user]'s [src] sucks the life right out of you!</span>")
playsound(loc, stunsound, 50, 1, -1)

deductcharge(hitcost)

L.forcesay(hit_appends)

user.attack_log += "\[[time_stamp()]\]<font color='red'> Stunned [L.name] ([L.ckey]) with [name]</font>"
L.attack_log += "\[[time_stamp()]\]<font color='orange'> Stunned by [user.name] ([user.ckey]) with [name]</font>"
log_attack("<font color='red'>[user.name] ([user.ckey]) stunned [L.name] ([L.ckey]) with [name]</font>" )
user.attack_log += "\[[time_stamp()]\]<font color='red'> [capitalize(attacklogverb)] [L.name] ([L.ckey]) with [name]</font>"
L.attack_log += "\[[time_stamp()]\]<font color='orange'> [capitalize(attacklogverb)] by [user.name] ([user.ckey]) with [name]</font>"
log_attack("<font color='red'>[user.name] ([user.ckey]) [attacklogverb] [L.name] ([L.ckey]) with [name]</font>" )
M.assaulted_by(user)

/obj/item/weapon/melee/baton/throw_impact(atom/hit_atom)
Expand All @@ -225,16 +222,17 @@

apply_baton_effect(L)

L.visible_message("<span class='danger'>[L] has been stunned with [src] by [foundmob ? foundmob : "Unknown"]!</span>")
if(vismsg)
L.visible_message("<span class='danger'>[L] has been [attacklogverb] with [src] by [foundmob ? foundmob : "Unknown"]!</span>")
playsound(loc, stunsound, 50, 1, -1)

deductcharge(hitcost)

L.forcesay(hit_appends)

foundmob.attack_log += "\[[time_stamp()]\]<font color='red'> Stunned [L.name] ([L.ckey]) with [name]</font>"
L.attack_log += "\[[time_stamp()]\]<font color='orange'> Stunned by thrown [src] by [istype(foundmob) ? foundmob.name : ""] ([istype(foundmob) ? foundmob.ckey : ""])</font>"
log_attack("<font color='red'>Flying [src.name], thrown by [istype(foundmob) ? foundmob.name : ""] ([istype(foundmob) ? foundmob.ckey : ""]) stunned [L.name] ([L.ckey])</font>" )
foundmob.attack_log += "\[[time_stamp()]\]<font color='red'> [capitalize(attacklogverb)] [L.name] ([L.ckey]) with [name]</font>"
L.attack_log += "\[[time_stamp()]\]<font color='orange'> [capitalize(attacklogverb)] by thrown [src] by [istype(foundmob) ? foundmob.name : ""] ([istype(foundmob) ? foundmob.ckey : ""])</font>"
log_attack("<font color='red'>Flying [src.name], thrown by [istype(foundmob) ? foundmob.name : ""] ([istype(foundmob) ? foundmob.ckey : ""]) [attacklogverb] [L.name] ([L.ckey])</font>" )
L.assaulted_by(foundmob)

/obj/item/weapon/melee/baton/emp_act(severity)
Expand Down
Loading
Loading