Skip to content

Commit 275f9dc

Browse files
Revert "Removed old code and typos"
This reverts commit 2c33bf1.
1 parent ea9afc9 commit 275f9dc

File tree

3 files changed

+27
-1
lines changed

3 files changed

+27
-1
lines changed

code/item/medical/list.lua

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,17 @@ local medical = {}
33
--[[
44
{
55
full_name = 'insert name'
6+
group = {
7+
healing (medkit/bandage)
8+
drugs (pills/antidote)
9+
misc. (special)
10+
}
611
712
*optional*
813
914
dice = '?d?'
1015
accuracy = 0.00 (base chance to hit)
16+
organic = human/zombie/nil (results in default weapon choice, since weapon is attached to body)
1117
one_use = true/nil (is disposed of after one use)
1218
}
1319
--]]
@@ -18,20 +24,39 @@ local medical = {}
1824

1925
medical.FAK = {}
2026
medical.FAK.full_name = 'first aid kit'
27+
medical.FAK.group = {'healing', 'medkit'}
2128
medical.FAK.dice = '1d5'
2229
medical.FAK.one_use = true
2330

2431
medical.bandage = {}
2532
medical.bandage.full_name = 'bandage'
33+
medical.bandage.group = {'healing', 'bandage'}
2634
medical.bandage.dice = '1d3'
2735
medical.bandage.one_use = true
2836

37+
medical.herb = {}
38+
medical.herb.full_name = 'herb'
39+
medical.herb.group = {'healing', 'herb'}
40+
medical.herb.dice = '1d2'
41+
medical.herb.one_use = true
42+
43+
--[[
44+
--- DRUGS
45+
--]]
46+
47+
medical.antidote = {}
48+
medical.antidote.full_name = 'antidote'
49+
medical.antidote.group = {'drugs', 'antidote'}
50+
medical.antidote.accuracy = 0.50
51+
medical.antidote.one_use = true
52+
2953
--[[
3054
--- INSTRUMENT
3155
--]]
3256

3357
medical.syringe = {}
3458
medical.syringe.full_name = 'syringe'
59+
medical.syringe.group = {'instrument', 'syringe'}
3560
medical.syringe.accuracy = 0.25
3661
medical.syringe.one_use = true
3762

code/item/weapon/chanceToHit.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ local skill_attack_bonus = {
3030
arm = {hand_stimulus=0.10, claw=0.10, claw_adv=0.15},
3131
teeth = {head_stimulus=0.10, bite=0.10, bite_adv=0.15},
3232
acid = {acid=0.05, acid_adv=0.05},
33+
stinger = {venom=0.05, venom_adv=0.10},
3334
},
3435
}
3536

scenes/action.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ local function onRowRender( event )
103103
effect = "fade",
104104
time = 400,
105105
params = {}
106-
}
106+
}
107107

108108
local mob_type = main_player:getMobType()
109109
local action_data, params = action_list[mob_type][item_name], options.params

0 commit comments

Comments
 (0)