Skip to content

Commit

Permalink
Merge pull request Civ13#2830 from Bierkraan/working-branch
Browse files Browse the repository at this point in the history
Update campaign subtypes
  • Loading branch information
Bierkraan authored May 13, 2024
2 parents 4a1d26d + 7bface0 commit 9b6c94b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
4 changes: 2 additions & 2 deletions code/__defines/maps.dm
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@

#define MAP_JUNGLE_OF_THE_CHADS "JUNGLE_OF_THE_CHADS"
#define MAP_FOOTBALL "FOOTBALL"
#define MAP_FOOTBALL_CMP "FOOTBALL_CAMPAIGN"
#define MAP_FOOTBALL_CMP "FOOTBALL_CMP"
#define MODE_WAR 1

#define MAP_ABASHIRI "ABASHIRI"
Expand Down Expand Up @@ -139,7 +139,7 @@
#define MAP_WACO "WACO"
#define MAP_ARCTIC_SUB "ARCTIC_SUB"
#define MAP_NATIONSRP_COLDWAR "NATIONSRP_COLDWAR"
#define MAP_NATIONSRP_COLDWAR_CMP "NATIONSRP_COLDWAR_CAMPAIGN"
#define MAP_NATIONSRP_COLDWAR_CMP "NATIONSRP_COLDWAR_CMP"
#define MAP_CZECH_BORDER "CZECH_BORDER"

#define MAP_HOSTAGES "HOSTAGES"
Expand Down
3 changes: 0 additions & 3 deletions code/modules/1713/computers/programs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2064,7 +2064,6 @@
)
var/list/rus_choice = list(
"T-90A Tank (1200)",
"BMD-2 IFV with ATGM (1200)",
"BMD-2 IFV (900)",
"BTR-80 APC (700)",
"Tigr-M Humvee with MG (400)",
Expand Down Expand Up @@ -2255,8 +2254,6 @@

if ("T-90A Tank (1200)")
PV = new /obj/effects/premadevehicles/tank/t90a(locate(origin.x+3,origin.y-5,origin.z))
if ("BMD-2 IFV with ATGM (1200)")
PV = new /obj/structure/vehicleparts/axis/heavy/bmd2/atgm(locate(origin.x+3,origin.y-5,origin.z))
if ("BMD-2 IFV (900)")
PV = new /obj/structure/vehicleparts/axis/heavy/bmd2(locate(origin.x+3,origin.y-5,origin.z))
if ("BTR-80 APC (700)")
Expand Down
2 changes: 0 additions & 2 deletions code/modules/1713/machinery/vehicles.dm
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,6 @@
tank_names_soviet -= pickedname
name = "[name] \'[pickedname]\'"

/obj/structure/vehicleparts/axis/heavy/bmd2/atgm

/obj/structure/vehicleparts/axis/heavy/btr80
name = "BTR-80"
speeds = 5
Expand Down
4 changes: 2 additions & 2 deletions code/modules/1713/tools.dm
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@

/obj/item/weapon/material/shovel/spade/foldable/secondary_attack_self(mob/living/human/user)
if (secondary_action)
if (do_after(user, 10, src))
if (do_after(user, 10, src, can_move = TRUE))
user.visible_message("<span class='warning'>[user] folds their [src] closed.</span>", "<span class='notice'>You fold your [src] closed.</span>", "<span class='warning'>You hear something being folded nearby.</span>")
qdel(src)
usr.put_in_any_hand_if_possible(new path, prioritize_active_hand = TRUE)
Expand Down Expand Up @@ -267,7 +267,7 @@

/obj/item/weapon/foldable_shovel/secondary_attack_self(mob/living/human/user)
if (secondary_action)
if (do_after(user, 5, src))
if (do_after(user, 5, src, can_move = TRUE))
to_chat(usr, SPAN_NOTICE("You quickly snap your [src] open."))
qdel(src)
usr.put_in_any_hand_if_possible(new path, prioritize_active_hand = TRUE)
Expand Down
3 changes: 2 additions & 1 deletion code/modules/1713/weapons/guns/mg/stationary/mg.dm
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,7 @@
base_icon = "atgm"
caliber = "rocket"
fire_sound = 'sound/weapons/guns/fire/rpg7.ogg'
zoom_amount = ZOOM_CONSTANT*2+4
load_method = SINGLE_CASING
handle_casings = REMOVE_CASINGS
magazine_type = /obj/item/ammo_magazine/mosin
Expand Down Expand Up @@ -714,7 +715,7 @@
return
usr.face_atom(src)
visible_message(SPAN_WARNING("[usr] starts to get the [src] from the ground."))
if (do_after(usr, 40, get_turf(usr)))
if (do_after(usr, 30, get_turf(usr)))
for (var/obj/item/ammo_casing/rocket/I in rockets)
I.loc = get_turf(src)
rockets -= I
Expand Down

0 comments on commit 9b6c94b

Please sign in to comment.