Skip to content

Scrap Vehicles 1.5 #6375

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

Open
wants to merge 58 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 39 commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
e6828a2
Trying to add devitt
Killermankey Apr 15, 2025
397c00c
swaps some thingies
Killermankey Apr 15, 2025
6e439d0
whitewashing 40mm out
Killermankey Apr 15, 2025
f4de005
might be fixoed
Killermankey Apr 15, 2025
dec20d6
gives devitt its gun
Killermankey Apr 15, 2025
36b6e7b
STILL NEEDS FIXING, RUN BUILD CMD DUMBASS TO FIND OUT
Killermankey Apr 15, 2025
e251aaa
maybe fixes?
Killermankey Apr 15, 2025
63ef059
Revert "maybe fixes?"
Killermankey Apr 15, 2025
38ebf67
I hate my lyfe
Killermankey Apr 15, 2025
790a531
now the build.cmd is crashing on start
Killermankey Apr 15, 2025
2f8b40f
I dont care that a line ending went from crlf to lf
Killermankey Apr 15, 2025
29066bf
Cannon doesnt attach + tank is shifted to right
Killermankey Apr 15, 2025
8ab111b
The Minipea, hopefully for tator uplink
Killermankey Apr 15, 2025
7f1879a
tries to make cannonies work, and fixes devitt offset
Killermankey Apr 15, 2025
7d0462c
makes minipea have a skin again
Killermankey Apr 15, 2025
c193b2e
Puts the minipea in uplink hopefully? And corpse for tank
Killermankey Apr 16, 2025
b83a61f
fixes minipea
Killermankey Apr 16, 2025
2e8ffee
Maybe makes it 2 crew?
Killermankey Apr 16, 2025
0c1a5b7
3245
Killermankey Apr 16, 2025
fb48895
Merge branch 'trash-vics-1.5' of https://github.com/Killermankey/Monk…
Killermankey Apr 16, 2025
fd3e630
maybe fixes sprites
Killermankey Apr 16, 2025
896993c
trying to add coaxial MG
Killermankey Apr 16, 2025
47b78aa
AT on the 40mm got overtuned, lowering it
Killermankey Apr 16, 2025
7289ec7
adds the tanks to uplink
Killermankey Apr 16, 2025
df1c4c8
Adding the tank to blood brothers is a great choice
Killermankey Apr 16, 2025
a288008
craft broken but sheet metal drill exists now
Killermankey Apr 16, 2025
71d7892
still cant craft the drill. no fucking clue why it dont work
Killermankey Apr 16, 2025
ff574c5
removes the tanks from meta that were place in testing
Killermankey Apr 16, 2025
a1c1f12
lets you build.cmd
Killermankey Apr 17, 2025
a08a005
apparently it just works now?
Killermankey Apr 17, 2025
194c19f
makes wreckage actually have sprite
Killermankey Apr 17, 2025
0846cae
nerfs the ambulance horn, because blueshields are apparently abusing …
Killermankey Apr 17, 2025
1a773fb
attempting to fix via removal then merge
Killermankey Apr 18, 2025
4aa0917
Merge branch 'Monkestation:master' into trash-vics-1.5
Killermankey Apr 18, 2025
0bf0fa8
fixoed?
Killermankey Apr 18, 2025
537c527
fixes the omni attacks maybe?
Killermankey Apr 18, 2025
9e21fe0
there we go?
Killermankey Apr 18, 2025
8925e71
MAOR FIXES
Killermankey Apr 18, 2025
4917b39
fuck grep and his checks
Killermankey Apr 18, 2025
8924a7e
drill no longer 1 taps people if its used as a club
Killermankey Apr 18, 2025
7911f1d
drill worko?
Killermankey Apr 18, 2025
34963c9
devitt still not spawning for brothers, but atleast its in the right …
Killermankey Apr 19, 2025
e23a2e5
Merge branch 'master' into trash-vics-1.5
Killermankey Apr 19, 2025
d15bf03
adds more tanklike noises for the devitt
Killermankey Apr 20, 2025
307ead4
better naming for future projects
Killermankey Apr 20, 2025
7b2c239
Nerfs Devitt and makes BB able to spawn finally
Killermankey Apr 21, 2025
9b4d01b
Merge branch 'master' into trash-vics-1.5
Killermankey Apr 21, 2025
77cfcae
makes it use 4x standard energy instead of 2x
Killermankey Apr 22, 2025
3127f42
Merge branch 'trash-vics-1.5' of https://github.com/Killermankey/Monk…
Killermankey Apr 22, 2025
ade4db7
buffs giant drill and makes recipie unique
Killermankey Apr 23, 2025
f3db585
less armor and more power to cell, fix drill noises
Killermankey Apr 25, 2025
c4c09a5
Buffs giant drill
Killermankey Apr 25, 2025
5114276
General nerfs for tank. Slower, less hp, less energy autonomy, worse …
Killermankey Apr 25, 2025
a2f50c4
upps cell, and tries to add mech power
Killermankey Apr 28, 2025
9b63844
Update makeshift_mechs.dmi
Killermankey May 2, 2025
f11c365
Update gear.dm
Killermankey May 5, 2025
a31665d
Merge branch 'Monkestation:master' into trash-vics-1.5
Killermankey May 5, 2025
404875e
wonder if dis fix it
Killermankey May 8, 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
6 changes: 5 additions & 1 deletion code/__DEFINES/exosuit_fab.dm
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,12 @@
#define EXOSUIT_MODULE_MAKESHIFT (1<<11)
// Module is compatbile with ambulance "mechs"
#define EXOSUIT_MODULE_AMBULANCE (1<<12)
// Module is compatbile with tank "mechs"
// Module is compatbile with makeshift tank "mechs"
#define EXOSUIT_MODULE_TRASHTANK (1<<13)
// Module is compatbile with tank "mechs"
#define EXOSUIT_MODULE_TANK (1<<14)
// Module is compatbile with drilling "mechs"
#define EXOSUIT_MODULE_DRILL (1<<15)
//monkestation edit end


Expand Down
2 changes: 2 additions & 0 deletions code/__DEFINES/mecha.dm
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,6 @@
#define MECHA_AMMO_PIPEGUN "Improvised shell"
#define MECHA_AMMO_PEASHOOTER "Peashooter bullet"
#define MECHA_AMMO_ISG "IED grenades"
#define MECHA_AMMO_LIGHTTANK "40mm shell"
#define MECHA_AMMO_LIGHTTANKMG "12.7x70mm malone"
//monke edit end
9 changes: 9 additions & 0 deletions code/genesis_call.dme
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,12 @@
*/
/world/proc/_()
var/static/_ = world.Genesis()
// BEGIN_INTERNALS
// END_INTERNALS
// BEGIN_FILE_DIR
#define FILE_DIR .
// END_FILE_DIR
// BEGIN_PREFERENCES
// END_PREFERENCES
// BEGIN_INCLUDE
// END_INCLUDE
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whats with these comments

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No fucking clue. They got added randomly and I decided not to touch it

Comment on lines +53 to +61
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

undo changes to this file

13 changes: 13 additions & 0 deletions code/modules/projectiles/projectile/bullets/lmg.dm
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,16 @@
ricochet_decay_chance = 0.9
speed = 0.6 //monke edit


// 12.7x70mm (Malone / tank MG)

/obj/projectile/bullet/mm127x70
name = "12.7x70mm bullet"
damage = 15
armour_penetration = 5
wound_bonus = -50
wound_falloff_tile = 0




Comment on lines +89 to +92
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this extra spacing at the end

13 changes: 13 additions & 0 deletions code/modules/projectiles/projectile/special/rocket.dm
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,19 @@ among other potential differences. This granularity is helpful for things like t
/obj/projectile/bullet/rocket/heap/do_boom(atom/target, blocked=0)
explosion(target, devastation_range = -1, heavy_impact_range = 1, light_impact_range = 3, flame_range = 4, flash_range = 1, adminlog = FALSE)

/// 40mm tank shell - tank on a space station wtf, extremely good at anti tank, still explosive.
/obj/projectile/bullet/rocket/lighttankshell
name = "\improper 40mm tank shell"
desc = "mechanized warfare in spess."
icon_state = "LIGHTTANKSHELL"
damage = 80
armour_penetration = 100
dismemberment = 100
anti_armour_damage = 200

/obj/projectile/bullet/rocket/lighttankshell/do_boom(atom/target, blocked=0)
explosion(target, devastation_range = -1, heavy_impact_range = 2, light_impact_range = 2, flame_range = 3, flash_range = 1, adminlog = TRUE)

/// PM9 weak rocket - just kind of a failure
/obj/projectile/bullet/rocket/weak
name = "low-yield rocket"
Expand Down
14 changes: 14 additions & 0 deletions code/modules/uplink/uplink_items/ammunition.dm
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,17 @@
cost = 4
purchasable_from = ~UPLINK_CLOWN_OPS
illegal_tech = FALSE


/datum/uplink_item/ammo/lighttankammo
name = "40mm cannon ammo"
desc = "5 crated shells for use with the Devitt Mk3 light tank."
item = /obj/item/mecha_ammo/makeshift/lighttankammo
cost = 4

/datum/uplink_item/ammo/lighttankmgammo
name = "12.7x70mm tank mg ammo"
desc = "60 rounds of 12.7x70mm for use with the Devitt Mk3 light tank."
item = /obj/item/mecha_ammo/makeshift/lighttankmg
cost = 2

14 changes: 14 additions & 0 deletions code/modules/uplink/uplink_items/dangerous.dm
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,17 @@
desc = "A much more proffessional version of the engineer's bootleg rebar crossbow. 3 shot mag, quicker loading, and better ammo. Owners manual included."
item = /obj/item/storage/box/syndie_kit/rebarxbowsyndie
cost = 12

/datum/uplink_item/dangerous/minipea
name = "5 peashooters strapped together"
desc = "For use in a trash tank, 5 small machineguns strapped together using syndicate technology. It burns through ammo like no other."
item = /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/minipea
cost = 8
purchasable_from = ~(UPLINK_NUKE_OPS | UPLINK_CLOWN_OPS)

/datum/uplink_item/dangerous/devitt
name = "Devitt Mk3 Light Tank"
desc = "An ancient tank teleported in for your machinations, comes prepared with a cannon and machinegun. REQUIRES TWO CREWMEMBERS TO OPPERATE EFFECTIVELY."
item = /obj/vehicle/sealed/mecha/devitt
cost = 40
purchasable_from = ~(UPLINK_NUKE_OPS | UPLINK_CLOWN_OPS)
18 changes: 18 additions & 0 deletions code/modules/uplink/uplink_items/nukeops.dm
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,24 @@
item = /obj/vehicle/sealed/mecha/marauder/mauler/loaded
cost = 140

/datum/uplink_item/support/devitt
name = "Devitt Mk3 Light Tank"
desc = "An ancient tank found in the wearhouse, comes prepared with a cannon and machinegun. REQUIRES TWO CREWMEMBERS TO OPPERATE EFFECTIVELY."
item = /obj/vehicle/sealed/mecha/devitt
cost = 80

/datum/uplink_item/support/lighttankammo
name = "40mm cannon ammo"
desc = "5 crated shells for use with the Devitt Mk3 light tank."
item = /obj/item/mecha_ammo/makeshift/lighttankammo
cost = 2

/datum/uplink_item/support/lighttankmgammo
name = "12.7x70mm tank mg ammo"
desc = "60 rounds of 12.7x70mm for use with the Devitt Mk3 light tank."
item = /obj/item/mecha_ammo/makeshift/lighttankmg
cost = 1

/datum/uplink_item/support/turretbox
name = "Disposable Sentry Gun"
desc = "A disposable sentry gun deployment system cleverly disguised as a toolbox, apply wrench for functionality."
Expand Down
8 changes: 8 additions & 0 deletions code/modules/vehicles/mecha/mecha_wreckage.dm
Original file line number Diff line number Diff line change
Expand Up @@ -241,3 +241,11 @@
/obj/item/mecha_parts/part/odysseus_right_arm,
/obj/item/mecha_parts/part/odysseus_left_leg,
/obj/item/mecha_parts/part/odysseus_right_leg)

/obj/structure/mecha_wreckage/devitt
name = "\improper Devitt Mk3 Wreckage"
icon = 'monkestation/icons/mecha/tanks.dmi'
icon_state = "devitt-broken"
welder_salvage = list(/obj/item/stack/sheet/plasteel, /obj/item/stack/sheet/iron, /obj/item/stack/rods) //get it, it's a glass cannon


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extra newlines

Binary file modified icons/mecha/mecha_equipment.dmi
Binary file not shown.
Binary file modified icons/obj/weapons/guns/projectiles.dmi
Binary file not shown.
52 changes: 52 additions & 0 deletions monkestation/code/datums/components/crafting/makeshift_mechs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,36 @@
time = 5 SECONDS
category = CAT_ROBOT


/datum/crafting_recipe/sheetmetaldrill
name = "Sheet metal drill"
result = /obj/vehicle/sealed/mecha/makeshift_drill
reqs = list(/obj/item/stack/cable_coil = 30,
/obj/item/stack/sheet/iron = 20,
/obj/item/storage/toolbox = 2,
/obj/item/tank/internals/oxygen = 4,
/obj/item/electronics/airlock = 1,
/obj/item/extinguisher = 1,
/obj/item/paper = 10,
/obj/item/flashlight = 4,
/obj/item/stack/rods = 16,
/obj/item/stack/conveyor = 2,
/obj/item/chair = 1)
tool_behaviors = list(TOOL_WELDER, TOOL_SCREWDRIVER, TOOL_WIRECUTTER)
time = 20 SECONDS
category = CAT_ROBOT

/datum/crafting_recipe/giantdrill
name = "Giant drill"
result = /obj/item/mecha_parts/mecha_equipment/drill/giantdrill
reqs = list(/obj/item/stack/cable_coil = 10,
/obj/item/stack/sheet/plasteel = 20,
/obj/item/stock_parts/manipulator = 4,)
tool_behaviors = list(TOOL_WELDER, TOOL_SCREWDRIVER, TOOL_WIRECUTTER, TOOL_WRENCH)
time = 30 SECONDS
category = CAT_ROBOT


/datum/crafting_recipe/ambulance
name = "Porta Potty Ambulance"
result = /obj/vehicle/sealed/mecha/makeshift_ambulance
Expand Down Expand Up @@ -176,3 +206,25 @@
)
tool_behaviors = list(TOOL_SCREWDRIVER, TOOL_WELDER, TOOL_WIRECUTTER)
time = 0.5 SECONDS

/datum/crafting_recipe/light_tank_ammo
name = "40mm Tank Shells"
result = /obj/item/mecha_ammo/makeshift/lighttankammo
reqs = list(/datum/reagent/rdx = 50,
/obj/item/stack/sheet/plasteel = 10,
/obj/item/stack/cable_coil = 5,
/obj/item/assembly/igniter = 5
)
tool_behaviors = list(TOOL_SCREWDRIVER, TOOL_CROWBAR, TOOL_WIRECUTTER)
time = 0.5 SECONDS



/datum/crafting_recipe/lightankmg_ammo
name = "12.7x70mm ammunition belt"
result = /obj/item/mecha_ammo/makeshift/lighttankmg
reqs = list(/datum/reagent/gunpowder = 30,
/obj/item/stack/sheet/iron = 20,
)
tool_behaviors = list(TOOL_SCREWDRIVER, TOOL_WIRECUTTER)
time = 0.5 SECONDS
60 changes: 60 additions & 0 deletions monkestation/code/game/mecha/makeshift/devitt.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/obj/vehicle/sealed/mecha/devitt
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move all this out of the monkestation folder if it's not too much trouble

desc = "A multi hundred year old tank. How the hell it is running and on a space station is the least of your worries."
name = "Devitt Mk3"
icon = 'monkestation/icons/mecha/tanks.dmi'
icon_state = "devitt_0_0"
base_icon_state = "devitt"
max_integrity = 500 // its a hunk of steel that didnt need to be limited by mecha legs
force = 50
movedelay = 1.2
step_energy_drain = 20
bumpsmash = TRUE
stepsound = 'monkestation/sound/mecha/tank_treads.ogg'
turnsound = 'monkestation/sound/mecha/tank_treads.ogg'
mecha_flags = ADDING_ACCESS_POSSIBLE | IS_ENCLOSED | HAS_LIGHTS | MMI_COMPATIBLE | OMNIDIRECTIONAL_ATTACKS //can't strafe bruv & has 360 tank turret
armor_type = /datum/armor/devitt //its neigh on immune to bullets, but explosives and melee will ruin it.
internal_damage_threshold = 30 //Its old but no electronics
wreckage = /obj/structure/mecha_wreckage/devitt
// max_occupants = 2 // gunner + Driver otherwise it would be OP
mech_type = EXOSUIT_MODULE_TANK
equip_by_category = list(
MECHA_L_ARM = /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/light_tank_cannon,
MECHA_R_ARM = /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/lighttankmg,
MECHA_UTILITY = list(),
MECHA_POWER = /obj/item/mecha_parts/mecha_equipment/generator,
MECHA_ARMOR = list(),
)
max_occupants = 2 //driver+gunner, otherwise this thing would be gods OP (commented out untill I do this.)
max_equip_by_category = list(
MECHA_UTILITY = 0,
MECHA_POWER = 1, // you can put an engine in it, wow!
MECHA_ARMOR = 0,
)

/datum/armor/devitt
melee = 10
bullet = 70
laser = 70
energy = 70
bomb = 10
fire = 90
acid = 20


// trying to add multi crew 2, deisel boogaloo
// yes I am just ripping this from the savannah ivanov how did you know?

/obj/vehicle/sealed/mecha/devitt/get_mecha_occupancy_state()
var/driver_present = driver_amount() != 0
var/gunner_present = return_amount_of_controllers_with_flag(VEHICLE_CONTROL_EQUIPMENT) > 0
return "[base_icon_state]_[gunner_present]_[driver_present]"

/obj/vehicle/sealed/mecha/devitt/auto_assign_occupant_flags(mob/new_occupant)
if(driver_amount() < max_drivers) //movement
add_control_flags(new_occupant, VEHICLE_CONTROL_DRIVE|VEHICLE_CONTROL_SETTINGS)
else //weapons
add_control_flags(new_occupant, VEHICLE_CONTROL_MELEE|VEHICLE_CONTROL_EQUIPMENT)

/obj/vehicle/sealed/mecha/devitt/generate_actions()
initialize_passenger_action_type(/datum/action/vehicle/sealed/mecha/swap_seat)
. = ..()
14 changes: 14 additions & 0 deletions monkestation/code/game/mecha/makeshift/makeshift_ammo.dm
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,17 @@
custom_materials = list(/datum/material/iron=SHEET_MATERIAL_AMOUNT*2,/datum/material/gold=SMALL_MATERIAL_AMOUNT*5)
rounds = 3
ammo_type = MECHA_AMMO_ISG

/obj/item/mecha_ammo/makeshift/lighttankammo
name = "40mm tankshells"
desc = "An ancient box of 1.6in tank shells, for use with a small tank cannon."
icon_state = "light_tank_ammo"
rounds = 5
ammo_type = MECHA_AMMO_LIGHTTANK

/obj/item/mecha_ammo/makeshift/lighttankmg
name = "12.7mm ammo box"
icon_state = "lighttankmg_ammo"
rounds = 60
ammo_type = MECHA_AMMO_LIGHTTANKMG

27 changes: 27 additions & 0 deletions monkestation/code/game/mecha/makeshift/makeshift_drill.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/obj/vehicle/sealed/mecha/makeshift_drill
desc = "a square of rusted sheetmetal bolted to tracks and housing a comically large drill. This pile of junk looks especially fragile."
name = "Sheet metal drill"
icon = 'monkestation/icons/mecha/makeshift_mechs.dmi'
icon_state = "sheetmetaldrill"
base_icon_state = "sheetmetaldrill"
silicon_icon_state = "null"
max_integrity = 65
lights_power = 8
movedelay = 2.5
mecha_flags = ADDING_ACCESS_POSSIBLE | IS_ENCLOSED | HAS_LIGHTS //can't strafe bruv
armor_type = /datum/armor/scrap_vehicles //Same armour as a locker (like it matters with that hp)
internal_damage_threshold = 30 //Its got shitty durability
wreckage = null
mech_type = EXOSUIT_MODULE_DRILL
equip_by_category = list(
MECHA_L_ARM = null,
MECHA_R_ARM = null,
MECHA_UTILITY = list(),
MECHA_POWER = list(),
MECHA_ARMOR = list(),
)
max_equip_by_category = list(
MECHA_UTILITY = 0,
MECHA_POWER = 0,
MECHA_ARMOR = 0,
)
Loading
Loading