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

Tool tweak #4

Merged
merged 44 commits into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
1003aa1
Tool tweak
MrCastmer Jan 16, 2024
2ad3c54
fix
MrCastmer Jan 16, 2024
1da4464
fix2
MrCastmer Jan 16, 2024
81789bc
nuke welding tool tweak
MrCastmer Jan 27, 2024
536610f
welder huge, not large
MrCastmer Jan 29, 2024
665b828
Merge branch 'master' into syndie-tools-tweak
Blundir Jan 29, 2024
bcbdb05
Now it should work
MrCastmer Jan 29, 2024
c0a10d8
fix?
MrCastmer Feb 1, 2024
de3b9d9
Merge branch 'master' into syndie-tools-tweak
Blundir Feb 1, 2024
0142fca
resolve
MrCastmer Feb 3, 2024
5ec0fb7
Update device.dmi
MrCastmer Feb 4, 2024
4e324fd
tools&device tweak
MrCastmer Feb 4, 2024
f4a6f47
3-d try
MrCastmer Feb 4, 2024
acd6f47
Merge branch 'master' into syndie-tools-tweak
MrCastmer Feb 4, 2024
4260b29
it just works
MrCastmer Feb 4, 2024
a0b87fd
Update autosurgeon.dm
MrCastmer Feb 5, 2024
295b541
Merge branch 'master' into syndie-tools-tweak
MrCastmer Feb 5, 2024
8b8066d
Merge branch 'master' into syndie-tools-tweak
MrCastmer Feb 16, 2024
eafd027
Merge branch 'master' into syndie-tools-tweak
MrCastmer Feb 20, 2024
994018e
Merge branch 'master' into syndie-tools-tweak
MrCastmer Feb 22, 2024
5e487f5
Merge branch 'master' into syndie-tools-tweak
MrCastmer Feb 22, 2024
3b4a2e5
Merge branch 'master' into syndie-tools-tweak
MrCastmer Feb 25, 2024
e8675a4
combat_rcd_resprite
MrCastmer Feb 26, 2024
155135a
Merge branch 'master' into syndie-tools-tweak
MrCastmer Feb 28, 2024
cd5ed15
Merge branch 'master' into syndie-tools-tweak
Blundir Feb 29, 2024
6523f29
Merge branch 'master' into syndie-tools-tweak
MrCastmer Mar 12, 2024
4836804
Update changelog.css
MrCastmer Mar 30, 2024
20ec552
Merge branch 'master' into syndie-tools-tweak
MrCastmer Mar 30, 2024
461fc6e
Update device.dmi
MrCastmer Mar 30, 2024
26740a3
Merge branch 'master' into syndie-tools-tweak
MrCastmer Apr 6, 2024
3d4896f
Merge branch 'master' into syndie-tools-tweak
MrCastmer Apr 9, 2024
de2f9dc
Merge branch 'master' into syndie-tools-tweak
MrCastmer Apr 12, 2024
5037e43
Update includes.dm
MrCastmer Apr 12, 2024
db5c916
Merge branch 'master' into syndie-tools-tweak
MrCastmer Apr 12, 2024
106fc6f
Merge branch 'master' into syndie-tools-tweak
MrCastmer Apr 19, 2024
8c2a57c
Merge branch 'master' into syndie-tools-tweak
MrCastmer Apr 26, 2024
0c65c79
Merge branch 'master' into syndie-tools-tweak
MrCastmer Apr 26, 2024
2a864c1
Update device.dmi
MrCastmer Jul 18, 2024
31f2808
Merge branch 'master' into syndie-tools-tweak
MrCastmer Jul 18, 2024
9740124
Update device.dmi
MrCastmer Jul 18, 2024
0fdf869
Merge branch 'master' into syndie-tools-tweak
MrCastmer Aug 8, 2024
dc1d08d
Merge branch 'master' into syndie-tools-tweak
MrCastmer Aug 15, 2024
6d05a84
Merge branch 'master' into syndie-tools-tweak
MrCastmer Aug 18, 2024
2dcd8e6
Firing pin visual
MrCastmer Aug 18, 2024
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: 1 addition & 1 deletion modular_dripstation/code/game/objects/items/pins.dm
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
/obj/item/firing_pin/implant/centcom_mindshield
name = "mindshield firing pin"
desc = "This Centcom firing pin authorizes the weapon for only high quality mindshield-implanted users."
icon_state = "firing_pin_loyalty"
icon_state = "firing_pin_centcomloyalty"
req_implant = /obj/item/implant/mindshield/centcom
175 changes: 175 additions & 0 deletions modular_dripstation/code/game/objects/items/tools_syndicate.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,175 @@
/obj/item/wrench/nuke
name = "fancy wrench"
desc = "It's one of those fancy wrenches that you turn backward without twisting the bolt for faster action."
icon = 'modular_dripstation/icons/obj/tools.dmi'
icon_state = "wrench_syndie"
item_state = "wrench_syndie"
toolspeed = 0.5

/obj/item/wrench/combat
name = "combat wrench"
desc = "It's like a normal wrench but edgier. Can be found on the battlefield."
icon = 'modular_dripstation/icons/obj/tools.dmi'
icon_state = "wrench_combat"
item_state = "wrench_combat"
tool_behaviour = null
toolspeed = null
var/on = FALSE

/obj/item/wrench/combat/attack_self(mob/living/user)
if(on)
on = FALSE
force = initial(force)
w_class = initial(w_class)
throwforce = initial(throwforce)
tool_behaviour = initial(tool_behaviour)
attack_verb = list("bopped")
toolspeed = initial(toolspeed)
playsound(user, 'sound/weapons/saberoff.ogg', 35, TRUE)
to_chat(user, "<span class='warning'>[src] can now be kept at bay.</span>")
else
on = TRUE
force = 15
w_class = WEIGHT_CLASS_NORMAL
throwforce = 10
tool_behaviour = TOOL_WRENCH
attack_verb = list("devastated", "brutalized", "committed a war crime against", "obliterated", "humiliated")
toolspeed = 0.33
hitsound = 'sound/weapons/blade1.ogg'
playsound(user, 'sound/weapons/saberon.ogg', 35, TRUE)
to_chat(user, "<span class='warning'>[src] is now active. Woe onto your enemies!</span>")
update_icons()

/obj/item/wrench/combat/proc/update_icons()
if(on)
icon_state = "[initial(icon_state)]_on"
item_state = "[initial(item_state)]1"
else
icon_state = "[initial(icon_state)]"
item_state = "[initial(item_state)]"

/obj/item/wirecutters/nuke
name = "nonstandart wirecutters"
desc = "The blades of these wirecutters have suspiciously fine serrated teeth."
icon = 'modular_dripstation/icons/obj/tools.dmi'
icon_state = "wirecutters_syndie"
item_state = "wirecutters_syndie"
toolspeed = 0.5
random_color = FALSE

/obj/item/crowbar/nuke
name = "special crowbar"
desc = "It has special counterweights that adjust to the amount of pressure put on it by using a complex array of springs and screws."
icon = 'modular_dripstation/icons/obj/tools.dmi'
icon_state = "crowbar_syndie"
item_state = "crowbar_syndie"
toolspeed = 0.5
force = 8

/obj/item/weldingtool/hugetank/nuke
desc = "An upgraded welder based of the industrial welder. Has remarkable painting and more stealthy welding flash."
icon = 'modular_dripstation/icons/obj/tools.dmi'
icon_state = "syndiewelder"
item_state = "syndiewelder"
toolspeed = 0.5
light_range = 1

/obj/item/inducer/nuke
desc = "A tool for inductively charging internal power cells. This one has a suspicious colour scheme, and seems to be rigged to transfer charge at a much faster rate."
icon = 'modular_dripstation/icons/obj/tools.dmi'
icon_state = "inducer-syndi"
item_state = "inducer-syndi"
slot_flags = ITEM_SLOT_BELT
w_class = WEIGHT_CLASS_SMALL
powertransfer = 2000
cell_type = /obj/item/stock_parts/cell/super

/obj/item/jawsoflife/syndicate
name = "red jaws of life"
desc = "A pocket sized re-engineered copy of Nanotrasen's standard jaws of life. Can be used to force open airlocks in its crowbar configuration."
icon = 'modular_dripstation/icons/obj/tools.dmi'
icon_state = "syndie_pry"
item_state = "jawsoflife_syndie"
slot_flags = ITEM_SLOT_BELT
w_class = WEIGHT_CLASS_SMALL
toolspeed = 0.5

/obj/item/jawsoflife/syndicate/transform_crowbar(mob/user)
tool_behaviour = TOOL_CROWBAR
icon = 'modular_dripstation/icons/obj/tools.dmi'
icon_state = "syndie_pry"
playsound(get_turf(user), 'sound/items/change_jaws.ogg', 50, 1)
if (iscyborg(user))
to_chat(user,span_notice("Your servos whirr as the cutting head reconfigures into a prying head."))
else
to_chat(user, span_notice("You attach the pry jaws to [src]."))
update_appearance(UPDATE_ICON)

/obj/item/jawsoflife/syndicate/transform_cutters(mob/user)
attack_verb = list("pinched", "nipped")
icon_state = "syndie_cutter"
hitsound = 'sound/items/jaws_cut.ogg'
usesound = 'sound/items/jaws_cut.ogg'
tool_behaviour = TOOL_WIRECUTTER
playsound(get_turf(user), 'sound/items/change_jaws.ogg', 50, 1)
if (iscyborg(user))
to_chat(user,span_notice("Your servos whirr as the prying head reconfigures into a cutting head."))
else
to_chat(user, span_notice("You attach the cutting jaws to [src]."))
update_appearance(UPDATE_ICON)

/obj/item/construction/rcd/combat
name = "combat RCD"
delay_mod = 0.8
icon = 'modular_dripstation/icons/obj/tools.dmi'

/obj/item/multitool/ai_detect/red
name = "obvious device"
desc = "Syndicate device disguised as a multitool. Something is definitely wrong with it."
icon = 'modular_dripstation/icons/obj/tools.dmi'
icon_state = "redmultitool"
item_state = "redmultitool"
toolspeed = 0.33

/obj/item/storage/toolbox/syndicate/PopulateContents()
new /obj/item/screwdriver/nuke(src)
new /obj/item/wrench/nuke(src)
new /obj/item/weldingtool/largetank(src)
new /obj/item/crowbar/nuke(src)
new /obj/item/wirecutters/nuke(src)
new /obj/item/multitool/ai_detect(src)
new /obj/item/clothing/gloves/combat(src)
//YOGS start - toolspeed
for(var/obj/item/I in contents)
I.toolspeed = 0.5

/obj/item/storage/toolbox/syndicate/real
name = "syndicate toolbox"

/obj/item/storage/toolbox/syndicate/real/PopulateContents()
new /obj/item/screwdriver/nuke(src)
new /obj/item/wrench/nuke(src)
new /obj/item/weldingtool/hugetank/nuke(src)
new /obj/item/crowbar/nuke(src)
new /obj/item/wirecutters/nuke(src)
new /obj/item/multitool/ai_detect(src)
new /obj/item/clothing/gloves/combat(src)
for(var/obj/item/I in contents)
I.toolspeed = 0.33
I.name = "syndicate [I.name]"

/obj/item/storage/belt/military/syndicate_eng
name = "/improper battle engineer`s belt"
desc = "Engineer is engihere!"

/obj/item/storage/belt/military/syndicate_eng/PopulateContents()
new /obj/item/screwdriver/nuke(src)
new /obj/item/wrench/combat(src)
new /obj/item/weldingtool/hugetank/nuke(src)
new /obj/item/jawsoflife/syndicate(src)
new /obj/item/multitool/ai_detect/red(src)
new /obj/item/inducer/nuke(src)
new /obj/item/clothing/gloves/combat(src)
for(var/obj/item/I in contents)
I.toolspeed = 0.33
I.name = "syndicate [I.name]"
49 changes: 49 additions & 0 deletions modular_dripstation/code/modules/surgery/organs/autosurgeon.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
/obj/item/autosurgeon
icon = 'modular_dripstation/icons/obj/device.dmi'
icon_state = "autoimplanter"

/obj/item/autosurgeon/xray_eyes
icon_state = "autoimplanter_red"

/obj/item/autosurgeon/anti_stun
icon_state = "autoimplanter_red"

/obj/item/autosurgeon/reviver
icon_state = "autoimplanter_nt"

/obj/item/autosurgeon/reviver/syndicate
icon_state = "autoimplanter_red"

/obj/item/autosurgeon/arm/syndicate/syndie_mantis
icon_state = "autoimplanter_red"

/obj/item/autosurgeon/arm/syndicate/syndie_hammer
icon_state = "autoimplanter_red"

/obj/item/autosurgeon/arm/syndicate/stechkin_implant
icon_state = "autoimplanter_red"

/obj/item/autosurgeon/nt_mantis
icon_state = "autoimplanter_nt"

/obj/item/autosurgeon/nt_mantis/left
icon_state = "autoimplanter_nt"

/obj/item/autosurgeon/plasmavessel //Yogs Start: Just an autosurgeon with a plasma vessel in it, used in /obj/item/storage/box/syndie_kit/xeno_organ_kit
icon_state = "autoimplanter_red"

/obj/item/autosurgeon/syndicate/spinalspeed
icon_state = "autoimplanter_red"

/obj/item/autosurgeon/suspicious
icon_state = "autoimplanter_red"

/obj/item/multisurgeon
icon = 'modular_dripstation/icons/obj/device.dmi'
icon_state = "autoimplanter"

/obj/item/multisurgeon/airshoes //for traitors
icon_state = "autoimplanter_red"

/obj/item/multisurgeon/noslipall //for traitors
icon_state = "autoimplanter_red"
Binary file modified modular_dripstation/icons/obj/device.dmi
Binary file not shown.
Binary file added modular_dripstation/icons/obj/tools.dmi
Binary file not shown.
2 changes: 2 additions & 0 deletions modular_dripstation/includes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@
#include "code\game\objects\items\supermatter_delaminator.dm"
#include "code\game\objects\items\tanks\watertank.dm"
#include "code\game\objects\items\teleportation.dm"
#include "code\game\objects\items\tools_syndicate.dm"
#include "code\game\objects\items\toys.dm"
#include "code\game\objects\items\trash.dm"
#include "code\game\objects\items\weaponry.dm"
Expand Down Expand Up @@ -365,6 +366,7 @@
#include "code\modules\surgery\_bodyparts.dm"
#include "code\modules\surgery\anasthesia_machine.dm"
#include "code\modules\surgery\surgery_step.dm"
#include "code\modules\surgery\organs\autosurgeon.dm"
#include "code\modules\surgery\tools.dm"
#include "code\modules\uplink\uplink_devices.dm"
#include "code\modules\uplink\uplink_items.dm"
Expand Down
Loading