Determining Weapon Deliverying Death Blow

Place for sharing your game modifications for Life is Feudal: Your Own
User avatar
Azzerhoden
Alpha Tester
 
Posts: 1621
Joined: 08 May 2014, 17:44

Determining Weapon Deliverying Death Blow

Post by Azzerhoden » 17 Jan 2016, 21:59

I'm currently expanding the information tracked in my improved player death table, and I wanted to add the items the victim dropped as well as the weapon used to kill them. So far though, all I can determine is the weapons the killer had equipped.

In the table equipment_slots, equipped items get stored as follows:
Slot - Area
1 - Head
2 - Chest
3 - Arms
4 - Hands
5 - Legs
6 - Feet
7 - Finger
8 - Finger
9 - Neck
10 - Left hand
11 - Right hand
12 - Back Left
13 - Back Right
14 - ? (database stores this as the "Hand of Boris")
15 - ? (database stores this as the "Hand of Boris")

I had thought that by equipping a weapon in combat slots 14 & 15 would update, but they appear to not do so.

Would appreciate (almost) any feedback. As I said, I can just include the items in 10, 11, 12 and 13, but I'd prefer to just track the killing weapon.

Thanks!
| - Alpha Tester and Zealous Believer
Image

Kingdom of Hyperion founding Duchy - A practical RP Community est. 1999 - Apply Today!

User avatar
Cattoaster
 
Posts: 110
Joined: 03 Nov 2014, 16:13
Location: Medieval Germany

Re: Determining Weapon Deliverying Death Blow

Post by Cattoaster » 17 Jan 2016, 22:51

Hej Azzerhoden,

a few months ago I've asked on reddit what the object Hand of Boris (or Ilya) is: https://www.reddit.com/r/LifeIsFeudal/comments/3ckxcq/object_hand_of_boris_what_is_that/

It's used for unarmed combat. It's your fist.

User avatar
Azzerhoden
Alpha Tester
 
Posts: 1621
Joined: 08 May 2014, 17:44

Re: Determining Weapon Deliverying Death Blow

Post by Azzerhoden » 18 Jan 2016, 17:12

Thanks, that explains it. I would think that equipping a weapon would exchange a 'hand' for the weapon, but this is apparently not the case.
| - Alpha Tester and Zealous Believer
Image

Kingdom of Hyperion founding Duchy - A practical RP Community est. 1999 - Apply Today!

Return to Game mods