-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
(Done)Adds riot control turrets and makes them more common than lethal types. Removes roadblock robots. #35821
Changes from 17 commits
5bbd6e1
2af1b15
813465c
24bb986
f3fa4aa
4696dc1
ba48ecd
b8d9b65
d1cb7ee
aa1bca2
7805fff
e089f20
d3e21a1
b66c16f
28d19ff
ee7be13
3a03323
9673756
ec0149c
4b55e6c
dc5eaf7
fa87893
b807c9c
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 | ||||
---|---|---|---|---|---|---|
|
@@ -180,5 +180,28 @@ | |||||
"clip_size": 3, | ||||||
"modes": [ [ "DEFAULT", "single", 1, "NPC_AVOID" ], [ "MULTI", "multi", 3, [ "NPC_AVOID", "SIMULTANEOUS" ] ] ], | ||||||
"proportional": { "weight": 1.5, "volume": 1.8, "price": 2 } | ||||||
}, | ||||||
{ | ||||||
"id": "pseudo_m203", | ||||||
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.
Suggested change
This isn't really a pseudo item. 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. Isn't it? It's just a bunch of m203's strapped onto the bot, not an actual gun. |
||||||
"copy-from": "launcher_base", | ||||||
"looks_like": "m203", | ||||||
"type": "GUN", | ||||||
"name": "M203 array", | ||||||
"description": "Six M203 grenade launchers for use on an automated 40mm turret.", | ||||||
I-am-Erk marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
"weight": "8200 g", | ||||||
"volume": "4 L", | ||||||
"price": 250000, | ||||||
"to_hit": -1, | ||||||
"bashing": 14, | ||||||
"material": "steel", | ||||||
"ammo": "40mm", | ||||||
"range": 30, | ||||||
"ranged_damage": 1, | ||||||
"dispersion": 300, | ||||||
"durability": 10, | ||||||
"reload": 400, | ||||||
"modes": [ [ "DEFAULT", "semi-auto", 1, "NPC_AVOID" ] ], | ||||||
"magazines": [ [ "40mm", [ "belt40mm" ] ] ], | ||||||
I-am-Erk marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
"flags": [ "MOUNTED_GUN" ] | ||||||
} | ||||||
] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
[ | ||
{ | ||
"type": "monstergroup", | ||
"name": "GROUP_ROBOT", | ||
"default": "mon_manhack", | ||
"monsters": [ | ||
{ "monster": "mon_skitterbot", "freq": 220, "cost_multiplier": 0 }, | ||
{ "monster": "mon_secubot", "freq": 150, "cost_multiplier": 0 }, | ||
{ "monster": "mon_talon_m202a1", "freq": 75, "cost_multiplier": 0 }, | ||
{ "monster": "mon_copbot", "freq": 0, "cost_multiplier": 0 }, | ||
{ "monster": "mon_molebot", "freq": 40, "cost_multiplier": 0 } | ||
] | ||
}, | ||
{ | ||
"type": "monstergroup", | ||
"name": "GROUP_TURRET", | ||
"default": "mon_turret_rifle", | ||
"monsters": [ { "monster": "mon_turret_bmg", "freq": 50, "cost_multiplier": 2 } ] | ||
}, | ||
{ | ||
"name": "GROUP_HAZMATBOT", | ||
"type": "monstergroup", | ||
"default": "mon_hazmatbot", | ||
"monsters": [ { "monster": "mon_hazmatbot", "freq": 40, "cost_multiplier": 1 } ] | ||
}, | ||
{ | ||
"type": "monstergroup", | ||
"name": "GROUP_ROBOT_EYEBOT", | ||
"default": "mon_eyebot", | ||
"monsters": [ { "monster": "mon_eyebot", "freq": 100, "cost_multiplier": 0 } ] | ||
}, | ||
{ | ||
"type": "monstergroup", | ||
"name": "GROUP_ROBOT_SECUBOT", | ||
"default": "mon_secubot", | ||
"monsters": [ { "monster": "mon_secubot", "freq": 100, "cost_multiplier": 0 } ] | ||
}, | ||
{ | ||
"type": "monstergroup", | ||
"name": "GROUP_TURRET_RIOT", | ||
"default": "mon_turret_riot", | ||
"monsters": [ { "monster": "mon_turret_riot", "freq": 100, "cost_multiplier": 0 } ] | ||
} | ||
] |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -220,5 +220,55 @@ | |||||
"death_drops": { }, | ||||||
"death_function": [ "BROKEN" ], | ||||||
"flags": [ "SEES", "NOHEAD", "ELECTRONIC", "IMMOBILE", "NO_BREATHE", "DROPS_AMMO" ] | ||||||
}, | ||||||
{ | ||||||
"id": "mon_turret_riot", | ||||||
I-am-Erk marked this conversation as resolved.
Show resolved
Hide resolved
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.
Suggested change
Consistent monster IDs for UGVs. This should go in defense_bot.json too because we're likely to have moving ones at some point. |
||||||
"type": "MONSTER", | ||||||
"name": "riot control turret", | ||||||
"description": "These rapid-deployable riot control turrets were widely publicized a few years before the cataclysm as a new semi-autonomous device that could fire less-lethal rounds with far more accuracy than a human, ensuring safer hits against a target's limbs. They were quickly adopted by prisons and inner city police forces, where they demonstrated that 'less lethal' is not the same as 'non-lethal'. In the days before the cataclysm, massive stockrooms of the things were put into circulation.", | ||||||
"default_faction": "cop_bot", | ||||||
"looks_like": "mon_turret", | ||||||
"species": [ "ROBOT" ], | ||||||
"diff": 20, | ||||||
"volume": "62500 ml", | ||||||
"weight": 172000, | ||||||
"hp": 30, | ||||||
"speed": 100, | ||||||
"material": [ "steel" ], | ||||||
"symbol": "2", | ||||||
"color": "blue", | ||||||
"aggression": 50, | ||||||
"morale": 100, | ||||||
"anger_triggers": [ "PLAYER_CLOSE", "HURT", "FRIEND_ATTACKED", "FRIEND_DIED" ], | ||||||
"armor_bash": 14, | ||||||
"armor_cut": 16, | ||||||
"vision_day": 50, | ||||||
"vision_night": 3, | ||||||
"revert_to_itype": "bot_turret_riot", | ||||||
"starting_ammo": { "40mm_sponge": 100 }, | ||||||
"special_attacks": [ | ||||||
{ | ||||||
"//": "For later: needs the ability to preferentially target legs and arms", | ||||||
"type": "gun", | ||||||
"cooldown": 1, | ||||||
"move_cost": 150, | ||||||
"gun_type": "pseudo_m203", | ||||||
"ammo_type": "40mm_sponge", | ||||||
"fake_skills": [ [ "gun", 8 ], [ "rifle", 8 ] ], | ||||||
"fake_dex": 12, | ||||||
"ranges": [ [ 0, 30, "DEFAULT" ] ], | ||||||
"require_targeting_npc": true, | ||||||
"require_targeting_monster": true, | ||||||
"laser_lock": false, | ||||||
"targeting_cost": 200, | ||||||
"targeting_timeout_extend": -10, | ||||||
"targeting_sound": "\"Universal curfew is in effect. Please return to your home. This unit is authorized to open fire.\"", | ||||||
"targeting_volume": 50, | ||||||
"no_ammo_sound": "a chk!" | ||||||
} | ||||||
], | ||||||
"death_drops": { }, | ||||||
"death_function": [ "BROKEN" ], | ||||||
"flags": [ "SEES", "NOHEAD", "ELECTRONIC", "IMMOBILE", "NO_BREATHE", "DROPS_AMMO" ] | ||||||
} | ||||||
] |
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.
Consistent IDs for our UGVs makes it easier to know exactly what they are by ID only.