rpd:tomahawk2_item
Table of Contents
Tomahawk2 Item
Tomahawk2 is a custom throwing weapon implemented via Lua script in Remixed Dungeon. It's a unique variant that appears to be related to gnoll-themed items based on its sprite and configuration.
Item Properties
- Type: Throwing weapon (missile)
- Sprite: Uses images from gnoll_tomahawks.png sprite sheet
- Name Reference: Uses “Tomahawk_name” string reference (likely falls back to default)
- Info Reference: Uses “Tomahawk_desc” string reference (likely falls back to default)
- Price: 20 gold per item
- Equipable: Can be equipped in left hand
Description
The Tomahawk2 item is implemented as a Lua script (Tomahawk2.lua) and represents a special variant of tomahawk-style weapons. Based on its Lua implementation, it uses gnoll-themed sprites and follows the naming convention of other tomahawk variants in the game.
Implementation
This item is implemented through the Lua script system in Remixed Dungeon, demonstrating the moddability of the game. The script defines:
- Uses sprites from the gnoll_tomahawks.png sprite sheet
- Implements a unique name and description system
- Uses “left_hand” equipment slot
- Has a default price of 20 gold
Code References
- Lua Implementation: Tomahawk2.lua
- Sprite Sheet: gnoll_tomahawks.png
- Related Items:
- Tamahawk.java - Base Tomahawk implementation
- GnollTamahawk.java - Gnoll-specific variant
- String Resources:
- Tamahawk_Name, Tamahawk_Info - Default tomahawk strings
- GnollTamahawk strings - Gnoll variant strings
Related
- Tomahawk - Standard Tomahawk throwing weapon
- Gnoll Tomahawk - Gnoll class-specific variant
- Throwing Weapons - Other ranged missile weapons
- Missile Weapons - General category of throwing items
- Lua Modding - Information about Lua-based item creation
rpd/tomahawk2_item.txt · Last modified: by 127.0.0.1

