summaryrefslogtreecommitdiff
path: root/digital/io-hub/src/robospierre/element.h
diff options
context:
space:
mode:
Diffstat (limited to 'digital/io-hub/src/robospierre/element.h')
-rw-r--r--digital/io-hub/src/robospierre/element.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/digital/io-hub/src/robospierre/element.h b/digital/io-hub/src/robospierre/element.h
index bcc40f43..fa9fced7 100644
--- a/digital/io-hub/src/robospierre/element.h
+++ b/digital/io-hub/src/robospierre/element.h
@@ -90,6 +90,8 @@ struct element_t
vect_t pos;
/** Emplacement attributes. */
uint8_t attr;
+ /** Bonus coefficient (or Mallus if negative). */
+ int8_t bonus;
};
typedef struct element_t element_t;
@@ -104,6 +106,8 @@ typedef struct element_t element_t;
#define ELEMENT_UNLOAD_SAFE_START 63
#define ELEMENT_UNLOAD_SAFE_END 66
+#define ELEMENT_BONUS_COEFF 100
+
/** Elements on table. */
extern struct element_t element_table[];