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

crowd-control update(i guess 🤷‍♂️ ) #98

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
a0a4c8b
e
FighterOfKeyboard Nov 22, 2021
8a16d71
e
FighterOfKeyboard Nov 22, 2021
2690bcf
l
FighterOfKeyboard Nov 23, 2021
bbc34f6
um
FighterOfKeyboard Nov 23, 2021
268d287
Revert "e"
FighterOfKeyboard Nov 23, 2021
51ead82
asd
FighterOfKeyboard Nov 23, 2021
3a1b6b1
crowd/obj/item/clothing/mask/gas/commando
FighterOfKeyboard Nov 23, 2021
f945d68
a
FighterOfKeyboard Nov 23, 2021
9cae68b
r
FighterOfKeyboard Nov 23, 2021
191c04b
ú
FighterOfKeyboard Nov 23, 2021
dfda33b
tear gas gun :)
FighterOfKeyboard Nov 23, 2021
a3991c3
crowd-control update
FighterOfKeyboard Nov 23, 2021
8379461
crowd-control update
FighterOfKeyboard Nov 23, 2021
685c8b5
i
FighterOfKeyboard Nov 23, 2021
79e4c58
Update vending.dm
FighterOfKeyboard Nov 23, 2021
c5a31c2
Update admins.txt
FighterOfKeyboard Nov 23, 2021
ed1eeab
Update storage.dm
FighterOfKeyboard Nov 23, 2021
cd84fe0
Merge branch 'master' of https://github.com/FighterOfKeyboard/Geminus…
FighterOfKeyboard Nov 23, 2021
f8e2fda
Merge branch 'master' of https://github.com/FighterOfKeyboard/Geminus…
FighterOfKeyboard Nov 23, 2021
e80edd5
deployable police barrier new animation
FighterOfKeyboard Nov 23, 2021
09da221
new animation
FighterOfKeyboard Nov 23, 2021
a11f9fc
Revert "deployable police barrier new animation"
FighterOfKeyboard Nov 23, 2021
22489cf
duffle_sec
FighterOfKeyboard Nov 23, 2021
8af88b1
telebaton in hand icon fix
FighterOfKeyboard Nov 24, 2021
11a1e8a
Status panel shows security level yay
FighterOfKeyboard Dec 4, 2021
a8b2f6a
status tab change :)
FighterOfKeyboard Dec 4, 2021
eb00a97
Set theme jekyll-theme-hacker
FighterOfKeyboard Dec 22, 2021
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 .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,5 @@ code/_global_vars/sensitive.dm
config/forumdbconfig.txt
config/dbconfig.txt
config/webhooks.json
Geminus-City
config/admins.txt
1 change: 1 addition & 0 deletions Geminus-City
Submodule Geminus-City added at d61e8b
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
theme: jekyll-theme-merlot
theme: jekyll-theme-hacker
2 changes: 1 addition & 1 deletion code/__defines/inventory_sizes.dm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// The below should be used to define an item's w_class variable.
// Example: w_class = ITENSIZE_LARGE
// Example: w_class = ITEMSIZE_LARGE
// This allows the addition of future w_classes without needing to change every file.
#define ITEMSIZE_TINY 1
#define ITEMSIZE_SMALL 2
Expand Down
3 changes: 2 additions & 1 deletion code/game/machinery/vending.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2359,7 +2359,8 @@
/obj/item/weapon/storage/box/shotgunshells = 2,
/obj/item/weapon/storage/box/stunshells = 2,
/obj/item/weapon/gun/projectile/automatic/sts35 = 2,
/obj/item/ammo_magazine/m545 = 4
/obj/item/ammo_magazine/m545 = 4,
/obj/item/weapon/reagent_containers/spray/teargun = 3
)

/obj/machinery/vending/armory/gcpd/energy
Expand Down
7 changes: 5 additions & 2 deletions code/game/objects/items/weapons/swords_axes_etc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
desc = "A compact yet rebalanced personal defense weapon. Can be concealed when folded."
icon = 'icons/obj/weapons.dmi'
icon_state = "telebaton0"
item_state = "telebaton0"
slot_flags = SLOT_BELT
w_class = ITEMSIZE_SMALL
force = 3
Expand All @@ -59,15 +60,17 @@
user.visible_message("<span class='warning'>With a flick of their wrist, [user] extends their telescopic baton.</span>",\
"<span class='warning'>You extend the baton.</span>",\
"You hear an ominous click.")
icon_state = "telebaton1"
icon_state = "telebaton[on]"
item_state = "telebaton[on]"
w_class = ITEMSIZE_NORMAL
force = 15//quite robust
attack_verb = list("smacked", "struck", "slapped")
else
user.visible_message("<span class='notice'>\The [user] collapses their telescopic baton.</span>",\
"<span class='notice'>You collapse the baton.</span>",\
"You hear a click.")
icon_state = "telebaton0"
icon_state = "telebaton[on]"
item_state = "telebaton[on]"
w_class = ITEMSIZE_SMALL
force = 3//not so robust now
attack_verb = list("hit", "punched")
Expand Down
21 changes: 20 additions & 1 deletion code/modules/detectivework/tools/storage.dm
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,23 @@
/obj/item/weapon/csi_marker/n5 = 1,
/obj/item/weapon/csi_marker/n6 = 1,
/obj/item/weapon/csi_marker/n7 = 1
)
)

/obj/item/weapon/storage/box/riot_stuff
name = "Riot gear"
desc = "placeholder."
icon = 'icons/obj/storage.dmi'
icon_state = "duffle_sec"

w_class = ITEMSIZE_NO_CONTAINER
starts_with = list(
/obj/item/clothing/head/helmet/riot,
/obj/item/clothing/suit/armor/riot,
/obj/item/clothing/gloves/arm_guard/riot,
/obj/item/clothing/shoes/leg_guard/riot,
/obj/item/weapon/shield/riot/tele,
/obj/item/weapon/storage/box/teargas,
/obj/item/weapon/melee/telebaton,
/obj/item/clothing/mask/gas/commando,
/obj/item/weapon/reagent_containers/spray/pepper
)
3 changes: 3 additions & 0 deletions code/modules/mob/mob.dm
Original file line number Diff line number Diff line change
Expand Up @@ -685,8 +685,11 @@

if(.)
if(statpanel("Status") && ticker && ticker.current_state != GAME_STATE_PREGAME)
stat("Security Level:", get_security_level())
stat(" ")
stat("Current Time", stationtime2text())
stat("Current Date", stationdate2text())
stat(" ")
stat("Round Duration", roundduration2text())
stat("Round Persistence:", "[config.canonicity ? "Canon" : "Non-Canon"]")
stat("Game ID:", "[game_id]")
Expand Down
3 changes: 3 additions & 0 deletions code/modules/projectiles/guns/launcher/grenade_launcher.dm
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@
/obj/item/weapon/gun/launcher/grenade/underslung/attack_self()
return




//load and unload directly into chambered
/obj/item/weapon/gun/launcher/grenade/underslung/load(obj/item/weapon/grenade/G, mob/user)
if(G.loadable)
Expand Down
17 changes: 17 additions & 0 deletions code/modules/reagents/reagent_containers/spray.dm
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,23 @@
return
..()


/obj/item/weapon/reagent_containers/spray/teargun
name ="Tear gas gun"
desc = "Most effective crowd-control device in the galaxy"
icon = 'icons/obj/gun.dmi'
icon_state = "chemsprayer"
item_state = "chemsprayer"
w_class = ITEMSIZE_LARGE
amount_per_transfer_from_this = 10
possible_transfer_amounts = null
volume = 500
matter = list(DEFAULT_WALL_MATERIAL = 4000)

/obj/item/weapon/reagent_containers/spray/teargun/New()
..()
reagents.add_reagent("condensedcapsaicin", 500)

/obj/item/weapon/reagent_containers/spray/waterflower
name = "water flower"
desc = "A seemingly innocent sunflower...with a twist."
Expand Down
3 changes: 2 additions & 1 deletion config/admins.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@
# n8toe - Developer


FighterOfKeyboard - Host
silene - Host
TolinKalin - Host
jsuelieta - Game Admin
vlad777 - Developer
AnnoyingIncantation - Moderator
Desminus - Moderator
Desminus - Moderator
2 changes: 1 addition & 1 deletion config/hardwhitelist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ silene - Medical Director
silene - Research Director
silene - Judge
silene - District Prosecutor
silene - Nanotrasen CEO
fighterofkeyboard - Nanotrasen CEO
silene - Police Officer
silene - Detective
silene - Prison Warden
Expand Down
Binary file modified icons/effects/crayondecal.dmi
Binary file not shown.
Binary file modified icons/obj/objects.dmi
Binary file not shown.
Loading