-
Notifications
You must be signed in to change notification settings - Fork 345
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
base: master
Are you sure you want to change the base?
Scrap Vehicles 1.5 #6375
Changes from 39 commits
e6828a2
397c00c
6e439d0
f4de005
dec20d6
36b6e7b
e251aaa
63ef059
38ebf67
790a531
2f8b40f
29066bf
8ab111b
7f1879a
7d0462c
c193b2e
b83a61f
2e8ffee
0c1a5b7
fb48895
fd3e630
896993c
47b78aa
7289ec7
df1c4c8
a288008
71d7892
ff574c5
a1c1f12
a08a005
194c19f
0846cae
1a773fb
4aa0917
0bf0fa8
537c527
9e21fe0
8925e71
4917b39
8924a7e
7911f1d
34963c9
e23a2e5
d15bf03
307ead4
7b2c239
9b4d01b
77cfcae
3127f42
ade4db7
f3db585
c4c09a5
5114276
a2f50c4
9b63844
f11c365
a31665d
404875e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
Comment on lines
+53
to
+61
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. undo changes to this file |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove this extra spacing at the end |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. extra newlines |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
/obj/vehicle/sealed/mecha/devitt | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. move all this out of the |
||
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) | ||
. = ..() |
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, | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whats with these comments
There was a problem hiding this comment.
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