Planeshift
|
This class keeps natural resource concentrations across the world. More...
#include <workmanager.h>
Public Attributes | |
size_t | action |
The action you need to take to get this resource. < Id Corresponding to resourcesActions index. | |
csString | anim |
Name of animation to play while harvesting. | |
int | anim_duration_seconds |
Length of time the animation should play. | |
unsigned int | item_cat_id |
Category of tool needed for the ressource. | |
float | item_quality |
Quality of equipment for the ressource. | |
csVector3 | loc |
Centre point of resource location. | |
float | probability |
Probability of finding resource on attempt. | |
float | radius |
Radius around the centre where resource can be found. | |
int | reward |
Item ID of the reward. | |
csString | reward_nickname |
Item name of the reward. | |
int | sector |
The id of the sector this resource is in. | |
psSkillInfo * | skill |
Skill used to harvest resource. | |
int | skill_level |
Skill level required to be able to harvest resource. | |
float | visible_radius |
Radius around the centre where resource is visible. |
This class keeps natural resource concentrations across the world.
Definition at line 102 of file workmanager.h.
size_t NaturalResource::action |
The action you need to take to get this resource. < Id Corresponding to resourcesActions index.
Definition at line 117 of file workmanager.h.
csString NaturalResource::anim |
Name of animation to play while harvesting.
Definition at line 113 of file workmanager.h.
Length of time the animation should play.
Definition at line 114 of file workmanager.h.
Category of tool needed for the ressource.
Definition at line 111 of file workmanager.h.
Quality of equipment for the ressource.
Definition at line 112 of file workmanager.h.
csVector3 NaturalResource::loc |
Centre point of resource location.
Definition at line 105 of file workmanager.h.
Probability of finding resource on attempt.
Definition at line 108 of file workmanager.h.
Radius around the centre where resource can be found.
Definition at line 106 of file workmanager.h.
Item ID of the reward.
Definition at line 115 of file workmanager.h.
csString NaturalResource::reward_nickname |
Item name of the reward.
Definition at line 116 of file workmanager.h.
The id of the sector this resource is in.
Definition at line 104 of file workmanager.h.
Skill used to harvest resource.
Definition at line 109 of file workmanager.h.
Skill level required to be able to harvest resource.
Definition at line 110 of file workmanager.h.
Radius around the centre where resource is visible.
Definition at line 107 of file workmanager.h.