Added SL Combat 2.0 support
parent
cf63f8fd09
commit
95b9ed6c74
10
ARES/a
10
ARES/a
|
|
@ -93,6 +93,8 @@ string PROGRAM_NAME = "program";
|
|||
#define E_WARRIOR "!,"
|
||||
#define C_STORAGE 0x7a00200c
|
||||
#define E_STORAGE "!-"
|
||||
#define C_THERMAL 0x7a00200d
|
||||
#define E_THERMAL "!."
|
||||
|
||||
#define C_PROGRAM_BASE 0x7a003000
|
||||
|
||||
|
|
@ -254,10 +256,16 @@ string E_PROGRAM_NUMBER = "!!";
|
|||
#define SIGNAL_RECHECK_MODULE 0xf17
|
||||
#define E_SIGNAL_RECHECK_MODULE "]8"
|
||||
|
||||
// special message for combat performance:
|
||||
// special messages for combat:
|
||||
#define SIGNAL_COLLISION 0xf18
|
||||
#define E_SIGNAL_COLLISION "]9"
|
||||
|
||||
#define SIGNAL_DAMAGE 0xf1a
|
||||
#define E_SIGNAL_DAMAGE "];"
|
||||
|
||||
#define SIGNAL_DEATH 0xf1b
|
||||
#define E_SIGNAL_DEATH "]<"
|
||||
|
||||
#define SIGNAL_INVENTORY_DROP 0xf19
|
||||
#define E_SIGNAL_INVENTORY_DROP "]:"
|
||||
|
||||
|
|
|
|||
|
|
@ -39,6 +39,19 @@
|
|||
|
||||
// **** repair daemon ****
|
||||
|
||||
/* Standard community damage types proposed by Nexii Malthus: https://wiki.secondlife.com/wiki/Category:LSL_Combat2
|
||||
*/
|
||||
|
||||
// Healing (organics only):
|
||||
#define DAMAGE_TYPE_MEDICAL 100
|
||||
// Healing (machines only):
|
||||
#define DAMAGE_TYPE_REPAIR 101
|
||||
#define DAMAGE_TYPE_EXPLOSIVE 102
|
||||
#define DAMAGE_TYPE_CRUSHING 103
|
||||
#define DAMAGE_TYPE_ANTI_ARMOR 104
|
||||
// Organics only:
|
||||
#define DAMAGE_TYPE_SUFFOCATION 105
|
||||
|
||||
/* deal_damage(): deal ATOS damge to the unit
|
||||
_type: one of: "projectile", "crash", "heat", "cold", "special"
|
||||
_amount: number of HP to remove; multiply by 4 for projectile and crash damage; may be affected by shields
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue