Flashlight Staff

I just had an idea. What if you could use duct tape, a pole of some kind, and a flashlight to create a bashing weapon that doubles as a Flashlight?

So a tatical tonfa?

I like the tactical tonfa except it has that annoying pop-up window where I have to choose between turning the light on/off, and zapping someone. The gazillion charge capacity is so good, though.

Since i read your name i knew this was gonna happen.

Of course, But It’s a good idea regardless. Screw Night Vision, Flashlights for the win.

You could also scare wolfs and stuff with it. HUZZAH

HUZZAH! It would probably be pretty easy to code too.

Yes. Let me screw with the jsons and i’ll tell you!

[spoiler]{
“type”:“TOOL”,
“id”: “flashlight_stick”,
“symbol” : “/”,
“color”: “blue”,
“name”: “flashlight stick (off)”,
“description”: “A simple wood pole with one end sharpened, and it has a flashlight attached to it. Use it to turn it on, assuming it is charged with batteries.”,
“material”: [“wood”, “plastic”, “aluminum”],
“price”: 550,
“volume”: 6,
“weight”: 1300,
“bashing”: 6,
“cutting”: 8,
“to_hit”: 1,
“flags”: “SPEAR”,
“techniques”: [“WBLOCK_1”],
“max_charges”: 100,
“initial_charges”: 100,
“charges_per_use”: 1,
“turns_per_charge”: 0,
“ammo”: “battery”,
“revert_to”: “null”,
“use_action”: {
“type”: “transform”,
“msg”: “You turn the flashlight stick on.”,
“target”: “flashlight_stick_on”,
“active”: true,
“need_charges”: 1,
“need_charges_msg”: “The flashlight stick batteries are dead.”
}
},

  {
"type":"TOOL",
"id": "flashlight_stick_on",
"symbol" : "/",
"color": "blue",
"name": "flashlight stick (on)",
"description": "A simple wood pole with one end sharpened, and it has a flashlight attached to it. Use it to turn it off.",
"material": ["wood", "plastic", "aluminum"],
"price": 550,
"volume": 6,
"weight": 1300,
"bashing": 6,
"cutting": 8,
"to_hit": 1,
"flags": [ "SPEAR", "LIGHT_100", "CHARGEDIM" ],
"techniques": ["WBLOCK_1"],
"max_charges": 100,
"initial_charges": 100,
"charges_per_use": 0,
"turns_per_charge": 15,
"ammo": "battery",
"revert_to": "flashlight_stick",
"use_action": {
    "type": "auto_transform",
    "msg": "You turn the flashlight stick off.",
    "target": "flashlight_stick"
}

},

RECIPE

{
“type” : “recipe”,
“result”: “flashlight_stick”,
“category”: “CC_WEAPON”,
“subcategory”: “CSC_WEAPON_CSC_OTHER_OTHER”,
“skill_used”: “fabrication”,
“skills_required”: [ “survival”, 1 ],
“difficulty”: 0,
“time”: 600,
“reversible”: true,
“autolearn”: true,
“components”: [
[
[ “stick”, 1 ],
[ “2x4”, 1 ],
[ “broom”, 1 ],
[ “mop”, 1 ]
],
[
[ “flashlight”, 1 ],
[ “flashlight_on”, 1 ]
],
[
[ “rag”, 1 ],
[ “leather”, 1 ],
[ “fur”, 1 ]
],
[
[ “string_6”, 6 ],
[ “string_36”, 1 ],
[ “duct_tape”, 50 ]
]
]
},
[/spoiler]

I use spoilers to put the code because the code thing sucks and it’s incredibly tiny.
That’s the item, wich should be added to the tools json and the recipe part to the recipes.

[quote=“StopSignal, post:9, topic:8639”][spoiler]{
“type”:“TOOL”,
“id”: “flashlight_stick”,
“symbol” : “/”,
“color”: “blue”,
“name”: “flashlight stick (off)”,
“description”: “A simple wood pole with one end sharpened, and it has a flashlight attached to it. Use it to turn it on, assuming it is charged with batteries.”,
“material”: [“wood”, “plastic”, “aluminum”],
“price”: 550,
“volume”: 6,
“weight”: 1300,
“bashing”: 6,
“cutting”: 8,
“to_hit”: 1,
“flags”: “SPEAR”,
“techniques”: [“WBLOCK_1”],
“max_charges”: 100,
“initial_charges”: 100,
“charges_per_use”: 1,
“turns_per_charge”: 0,
“ammo”: “battery”,
“revert_to”: “null”,
“use_action”: {
“type”: “transform”,
“msg”: “You turn the flashlight stick on.”,
“target”: “flashlight_stick_on”,
“active”: true,
“need_charges”: 1,
“need_charges_msg”: “The flashlight stick batteries are dead.”
}
},

  {
"type":"TOOL",
"id": "flashlight_stick_on",
"symbol" : "/",
"color": "blue",
"name": "flashlight stick (on)",
"description": "A simple wood pole with one end sharpened, and it has a flashlight attached to it. Use it to turn it off.",
"material": ["wood", "plastic", "aluminum"],
"price": 550,
"volume": 6,
"weight": 1300,
"bashing": 6,
"cutting": 8,
"to_hit": 1,
"flags": [ "SPEAR", "LIGHT_100", "CHARGEDIM" ],
"techniques": ["WBLOCK_1"],
"max_charges": 100,
"initial_charges": 100,
"charges_per_use": 0,
"turns_per_charge": 15,
"ammo": "battery",
"revert_to": "flashlight_stick",
"use_action": {
    "type": "auto_transform",
    "msg": "You turn the flashlight stick off.",
    "target": "flashlight_stick"
}

},

RECIPE

{
“type” : “recipe”,
“result”: “flashlight_stick”,
“category”: “CC_WEAPON”,
“subcategory”: “CSC_WEAPON_CSC_OTHER_OTHER”,
“skill_used”: “fabrication”,
“skills_required”: [ “survival”, 1 ],
“difficulty”: 0,
“time”: 600,
“reversible”: true,
“autolearn”: true,
“components”: [
[
[ “stick”, 1 ],
[ “2x4”, 1 ],
[ “broom”, 1 ],
[ “mop”, 1 ]
],
[
[ “flashlight”, 1 ],
[ “flashlight_on”, 1 ]
],
[
[ “rag”, 1 ],
[ “leather”, 1 ],
[ “fur”, 1 ]
],
[
[ “string_6”, 6 ],
[ “string_36”, 1 ],
[ “duct_tape”, 50 ]
]
]
},
[/spoiler]

I use spoilers to put the code because the code thing sucks and it’s incredibly tiny.
That’s the item, wich should be added to the tools json and the recipe part to the recipes.[/quote]
SO GLORIOUS,Starts Weeping SO BEAUTIFUL,Sniff Oh thank you stop signal. So does this mean it’ll be in version 0.C?

Hahaha. Sadly, unless someone does a PR, then no. You can, though! Give credit (?

What’s a PR? And what do you mean by give credit?

Oh, no! It’s going to Github, the place where all code is merged and stuff, and making like, a request of adding it. That’s a PR! Never done it but it’s something like that.

Ah. Thanks.

Does it work btw?