Planeshift
Public Attributes

NaturalResource Struct Reference

This class keeps natural resource concentrations across the world. More...

#include <workmanager.h>

List of all members.

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.
psSkillInfoskill
 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.

Detailed Description

This class keeps natural resource concentrations across the world.

Definition at line 102 of file workmanager.h.


Member Data Documentation

The action you need to take to get this resource. < Id Corresponding to resourcesActions index.

Definition at line 117 of file workmanager.h.

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.

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.

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.


The documentation for this struct was generated from the following file: