Codex natureTable
Jump to navigation
Jump to search
UE | Field | Type | Key Type | Default | Extra | Description |
---|---|---|---|---|---|---|
ADD | id | int(11) | PRI | auto_increment | ||
ADD | item_type | int(11) | 1 basic creatures, 2 sentient creatures, 3 plants, 4 minerals | |||
ADD | ref_id | int(11) | points to race_info or item_stats table based on the item_type value | |||
ADD | item_name | varchar(100) | ex.: Habitat, Ecology, ... | |||
ADD | item_desc | text | the knowledge we provide to the player | |||
ADD | item_icon | varchar(100) | ||||
ADD | activation_type | varchar(100) | ex.: b:121 (book refers to item_stats.id), sa:10 (ability refers to skills_abilities.id), k:10 (requires 10 kills to activate) | |||
ADD | activation_prereq | text | script, ex.: the prerequisite of X intelligence | |||
ADD | activation_script | text | script ex.: 20% chance |