Coder Social home page Coder Social logo

armory's Introduction

Armory

Armory (armory) expands your character's choice of military, riot, police, and militia outfits and equipment.

In particular, grounds existing equipment in reality by providing them with real names, dimensions, and properties (coverage, protection, breathability etc.), and adds distinct options for each class of items, to provide players with a better choice depending on situation requirements.

Requires Frontiers Core.

Realism score

explainer

Realism score: 5

  • items are modelled as faithfully as possible

Status

Armory is currently in development.

The latest supported version of the game is 0.G.

Features

FEATURES.md will help you figure out the new features in detail.

Roadmap

See ROADMAP.md to find out what's coming for Armory.

How You Can Help

See HOW_YOU_CAN_HELP.md to find out how you can help the mod grow.

License

MIT

armory's People

Contributors

hyperseeker avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

armory's Issues

For the gunmod holster thing

In Relation to this: https://github.com/FrontierMods/Armory/blob/main/documentation/DESIRED_FEATURES.md#required-gunmods-for-holsters
You can have holsters only store an item if they have a flag, & you can give a gun a flag if they're modded (I.E. Bayonets).

This bayonet adds the flags below:
EX:
{
"id": "knife_combat_marine",
"type": "TOOL",
"category": "weapons",
"name": { "str": "USMC bayonet" },
"description": "A modern bayonet in use with the US Marine Corps, adopted in an effort to improve USMC hand-to-hand fighting capabilities. The bayonet is optimized to function as a fighting knife, sporting an ergonomic handle that will minimize hand fatigue during combat. The blade tip is sharper in profile than other bayonets to assist in penetrating body armor, and also features a small serrated section to provide for some utility.",
"//": "Modelled after the OKC3S bayonet.",
"weight": "405 g",
"volume": "260 ml",
"longest_side": "34 cm",
"price": 10000,
"price_postapoc": 1250,
"to_hit": { "grip": "weapon", "length": "hand", "surface": "point", "balance": "good" },
"material": [ "hc_steel", "plastic" ],
"symbol": ";",
"color": "dark_gray",
"gunmod_data": {
"location": "bayonet lug",
"mod_targets": [ "pistol", "smg", "rifle", "shotgun", "launcher", "crossbow" ],
"is_bayonet": true,
"install_time": "5 s"
},
"min_skills": [ [ "weapon", 2 ], [ "melee", 1 ] ],
"techniques": [ "RAPID" ],
"qualities": [ [ "CUT", 2 ], [ "SAW_W", 1 ], [ "CUT_FINE", 1 ], [ "BUTCHER", 19 ] ],
"thrown_damage": [ { "damage_type": "stab", "amount": 14 } ],
"flags": [
"DURABLE_MELEE",
"SHEATH_KNIFE",
"NPC_THROWN",
"ALLOWS_BODY_BLOCK",
"PUMP_RAIL_COMPATIBLE",
"NO_SALVAGE",
"CONDUCTIVE"
],
"weapon_category": [ "KNIVES" ],
"melee_damage": { "stab": 22 }
},

This axe ring only allows items w/ the SHEATH_AXE flag:
[
{
"id": "axe_ring",
"type": "ARMOR",
"name": { "str": "axe ring holster" },
"description": "A combination of leather and a metal ring to hold an axe on your waist.",
"weight": "180 g",
"volume": "600 ml",
"price": 3000,
"price_postapoc": 250,
"material": [ "leather", "steel" ],
"symbol": "[",
"looks_like": "sheath",
"color": "brown",
"material_thickness": 1,
"pocket_data": [
{
"moves": 30,
"max_contains_volume": "3250 ml",
"max_contains_weight": "5 kg",
"max_item_length": "100 cm",
"holster": true,
"flag_restriction": [ "SHEATH_AXE" ],
"volume_encumber_modifier": 0.3
}
],
"use_action": { "type": "holster", "holster_prompt": "Sheath axe", "holster_msg": "You sheath your %s" },
"flags": [ "NONCONDUCTIVE", "BELTED", "BELT_CLIP", "OVERSIZE", "WATER_FRIENDLY" ],
"armor": [ { "encumbrance": 0, "coverage": 50, "covers": [ "torso" ], "specifically_covers": [ "torso_waist" ] } ]
},

In order to make the holster only contain the gun w/ the mod, & not the mod itself, make the min vol/length slightly bigger than the mod itself.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.