From f219b3288f5f3f530e15effa508f7bec29df1f9e Mon Sep 17 00:00:00 2001 From: Andrea Rendine Date: Fri, 22 May 2015 16:03:49 +0200 Subject: [PATCH] Single letter representations for enemies R wild animals (beast, birds, lizards, rats) T mutated creatures (includes giant lizards) E human enemies (old men, scavengers, thugs and squatters) D armed human enemies (includes vigilantes, soldiers, snipers, commandos, veterans and chiefs) --- script/events/encounters.js | 20 ++++---- script/events/setpieces.js | 98 ++++++++++++++++++------------------- 2 files changed, 59 insertions(+), 59 deletions(-) diff --git a/script/events/encounters.js b/script/events/encounters.js index 0877fa9..936dfeb 100644 --- a/script/events/encounters.js +++ b/script/events/encounters.js @@ -14,7 +14,7 @@ Events.Encounters = [ enemy: 'snarling beast', enemyName: _('snarling beast'), deathMessage: _('the snarling beast is dead'), - chara: 'Beast', + chara: 'R', damage: 1, hit: 0.8, attackDelay: 1, @@ -51,7 +51,7 @@ Events.Encounters = [ enemy: 'gaunt man', enemyName: _('gaunt man'), deathMessage: _('the gaunt man is dead'), - chara: 'G', + chara: 'E', damage: 2, hit: 0.8, attackDelay: 2, @@ -88,7 +88,7 @@ Events.Encounters = [ enemy: 'strange bird', enemyName: _('strange bird'), deathMessage: _('the strange bird is dead'), - chara: 'Bird', + chara: 'R', damage: 3, hit: 0.8, attackDelay: 2, @@ -126,7 +126,7 @@ Events.Encounters = [ enemy: 'shivering man', enemyName: _('shivering man'), deathMessage: _('the shivering man is dead'), - chara: 'SM', + chara: 'E', damage: 5, hit: 0.5, attackDelay: 1, @@ -168,7 +168,7 @@ Events.Encounters = [ enemy: 'man-eater', enemyName: _('man-eater'), deathMessage: _('the man-eater is dead'), - chara: 'Eater', + chara: 'T', damage: 3, hit: 0.8, attackDelay: 1, @@ -205,7 +205,7 @@ Events.Encounters = [ enemy: 'scavenger', enemyName: _('scavenger'), deathMessage: _('the scavenger is dead'), - chara: 'Scav', + chara: 'E', damage: 4, hit: 0.8, attackDelay: 2, @@ -247,7 +247,7 @@ Events.Encounters = [ enemy: 'lizard', enemyName: _('lizard'), deathMessage: _('the lizard is dead'), - chara: 'Liz', + chara: 'T', damage: 5, hit: 0.8, attackDelay: 2, @@ -285,7 +285,7 @@ Events.Encounters = [ enemy: 'feral terror', enemyName: _('feral terror'), deathMessage: _('the feral terror is dead'), - chara: 'F', + chara: 'T', damage: 6, hit: 0.8, attackDelay: 1, @@ -323,7 +323,7 @@ Events.Encounters = [ enemyName: _('soldier'), deathMessage: _('the soldier is dead'), ranged: true, - chara: 'Sol', + chara: 'D', damage: 8, hit: 0.8, attackDelay: 2, @@ -365,7 +365,7 @@ Events.Encounters = [ enemy: 'sniper', enemyName: _('sniper'), deathMessage: _('the sniper is dead'), - chara: 'Snip', + chara: 'D', damage: 15, hit: 0.8, attackDelay: 4, diff --git a/script/events/setpieces.js b/script/events/setpieces.js index 2480b67..9f4012b 100644 --- a/script/events/setpieces.js +++ b/script/events/setpieces.js @@ -112,7 +112,7 @@ Events.Setpieces = { 'a1': { combat: true, enemy: 'beast', - chara: 'B', + chara: 'R', damage: 1, hit: 0.8, attackDelay: 1, @@ -257,7 +257,7 @@ Events.Setpieces = { 'b3': { combat: true, enemy: 'beast', - chara: 'B', + chara: 'R', damage: 1, hit: 0.8, attackDelay: 1, @@ -291,7 +291,7 @@ Events.Setpieces = { 'b4': { combat: true, enemy: 'cave lizard', - chara: 'L', + chara: 'R', damage: 3, hit: 0.8, attackDelay: 2, @@ -325,7 +325,7 @@ Events.Setpieces = { 'c1': { combat: true, enemy: 'beast', - chara: 'B', + chara: 'R', damage: 3, hit: 0.8, attackDelay: 2, @@ -359,7 +359,7 @@ Events.Setpieces = { 'c2': { combat: true, enemy: 'lizard', - chara: 'L', + chara: 'T', damage: 4, hit: 0.8, attackDelay: 2, @@ -560,7 +560,7 @@ Events.Setpieces = { 'a2': { combat: true, enemy: 'thug', - chara: 'T', + chara: 'E', damage: 4, hit: 0.8, attackDelay: 2, @@ -655,7 +655,7 @@ Events.Setpieces = { 'b2': { combat: true, enemy: 'scavenger', - chara: 'S', + chara: 'E', damage: 4, hit: 0.8, attackDelay: 2, @@ -694,7 +694,7 @@ Events.Setpieces = { 'b3': { combat: true, enemy: 'beast', - chara: 'B', + chara: 'R', damage: 3, hit: 0.8, attackDelay: 1, @@ -768,7 +768,7 @@ Events.Setpieces = { 'b5': { combat: true, enemy: 'madman', - chara: 'M', + chara: 'E', damage: 6, hit: 0.3, attackDelay: 1, @@ -807,7 +807,7 @@ Events.Setpieces = { 'c1': { combat: true, enemy: 'thug', - chara: 'T', + chara: 'E', damage: 4, hit: 0.8, attackDelay: 2, @@ -846,7 +846,7 @@ Events.Setpieces = { 'c2': { combat: true, enemy: 'beast', - chara: 'B', + chara: 'R', damage: 3, hit: 0.8, attackDelay: 1, @@ -897,7 +897,7 @@ Events.Setpieces = { 'c4': { combat: true, enemy: 'beast', - chara: 'B', + chara: 'R', damage: 4, hit: 0.8, attackDelay: 1, @@ -949,14 +949,14 @@ Events.Setpieces = { _('a small basket of food is hidden under a park bench, with a note attached.'), _("can't read the words.") ], - loot: { - 'cured meat': { - min: 1, - max: 5, - chance: 1 - } - }, - buttons: { + loot: { + 'cured meat': { + min: 1, + max: 5, + chance: 1 + } + }, + buttons: { 'continue': { text: _('continue'), cooldown: Events._LEAVE_COOLDOWN, @@ -972,7 +972,7 @@ Events.Setpieces = { 'd1': { combat: true, enemy: 'scavenger', - chara: 'S', + chara: 'E', damage: 5, hit: 0.8, attackDelay: 2, @@ -1011,7 +1011,7 @@ Events.Setpieces = { 'd2': { combat: true, enemy: 'vigilante', - chara: 'V', + chara: 'D', damage: 6, hit: 0.8, attackDelay: 2, @@ -1258,10 +1258,10 @@ Events.Setpieces = { }, 'a1': { text:[ - _('the streets are empty.'), - _('the air is filled with dust, driven relentlessly by the hard winds.') + _('the streets are empty.'), + _('the air is filled with dust, driven relentlessly by the hard winds.') ], - buttons: { + buttons: { 'continue': { text: _('continue'), nextScene: {0.5: 'b1', 1: 'b2'} @@ -1274,8 +1274,8 @@ Events.Setpieces = { }, 'a2': { text:[ - _('orange traffic cones are set across the street, faded and cracked.'), - _('lights flash through the alleys between buildings.') + _('orange traffic cones are set across the street, faded and cracked.'), + _('lights flash through the alleys between buildings.') ], buttons: { 'continue': { @@ -1341,7 +1341,7 @@ Events.Setpieces = { combat: true, notification: _('a huge lizard scrambles up out of the darkness of an old metro station.'), enemy: 'lizard', - chara: 'L', + chara: 'R', damage: 5, hit: 0.8, attackDelay: 2, @@ -1380,7 +1380,7 @@ Events.Setpieces = { notification: _('the shot echoes in the empty street.'), combat: true, enemy: 'sniper', - chara: 'S', + chara: 'D', damage: 15, hit: 0.8, attackDelay: 4, @@ -1460,7 +1460,7 @@ Events.Setpieces = { notification: _('a frail man stands defiantly, blocking the path.'), combat: true, enemy: 'frail man', - chara: 'M', + chara: 'E', damage: 1, hit: 0.8, attackDelay: 2, @@ -1536,7 +1536,7 @@ Events.Setpieces = { notification: _('an old man bursts through a door, wielding a scalpel.'), combat: true, enemy: 'old man', - chara: 'M', + chara: 'E', damage: 3, hit: 0.5, attackDelay: 2, @@ -1575,7 +1575,7 @@ Events.Setpieces = { notification: _('a thug is waiting on the other side of the wall.'), combat: true, enemy: 'thug', - chara: 'T', + chara: 'E', damage: 3, hit: 0.8, attackDelay: 2, @@ -1615,7 +1615,7 @@ Events.Setpieces = { notification: _('a snarling beast jumps out from behind a car.'), combat: true, enemy: 'beast', - chara: 'B', + chara: 'R', damage: 2, hit: 0.8, attackDelay: 1, @@ -1834,7 +1834,7 @@ Events.Setpieces = { combat: true, enemy: 'squatters', plural: true, - chara: 'SSS', + chara: 'EEE', damage: 2, hit: 0.7, attackDelay: 0.5, @@ -1875,7 +1875,7 @@ Events.Setpieces = { combat: true, enemy: 'lizards', plural: true, - chara: 'LLL', + chara: 'RRR', damage: 4, hit: 0.7, attackDelay: 0.7, @@ -1940,7 +1940,7 @@ Events.Setpieces = { notification: _('a large bird nests at the top of the stairs.'), combat: true, enemy: 'bird', - chara: 'B', + chara: 'R', damage: 5, hit: 0.7, attackDelay: 1, @@ -2047,8 +2047,8 @@ Events.Setpieces = { notification: _('a large man attacks, waving a bayonet.'), combat: true, enemy: 'veteran', - chara: 'V', - damage: 3, + chara: 'D', + damage: 6, hit: 0.8, attackDelay: 2, health: 45, @@ -2123,7 +2123,7 @@ Events.Setpieces = { notification: _('a masked soldier rounds the corner, gun drawn'), combat: true, enemy: 'commando', - chara: 'C', + chara: 'D', ranged: true, damage: 3, hit: 0.9, @@ -2165,7 +2165,7 @@ Events.Setpieces = { combat: true, enemy: 'squatters', plural: true, - chara: 'SSS', + chara: 'EEE', damage: 2, hit: 0.7, attackDelay: 0.5, @@ -2200,7 +2200,7 @@ Events.Setpieces = { notification: _('a youth lashes out with a tree branch.'), combat: true, enemy: 'youth', - chara: 'Y', + chara: 'E', damage: 2, hit: 0.7, attackDelay: 1, @@ -2235,7 +2235,7 @@ Events.Setpieces = { notification: _('a squatter stands firmly in the doorway of a small hut.'), combat: true, enemy: 'squatter', - chara: 'S', + chara: 'E', damage: 3, hit: 0.8, attackDelay: 2, @@ -2270,7 +2270,7 @@ Events.Setpieces = { notification: _('behind the door, a deformed figure awakes and attacks.'), combat: true, enemy: 'deformed', - chara: 'D', + chara: 'T', damage: 8, hit: 0.6, attackDelay: 2, @@ -3011,7 +3011,7 @@ Events.Setpieces = { 'occupied': { combat: true, enemy: 'squatter', - chara: 'S', + chara: 'E', damage: 3, hit: 0.8, attackDelay: 2, @@ -3255,7 +3255,7 @@ Events.Setpieces = { 'a3': { combat: true, enemy: 'veteran', - chara: 'V', + chara: 'D', damage: 10, hit: 0.8, attackDelay: 2, @@ -3324,7 +3324,7 @@ Events.Setpieces = { 'a1': { combat: true, enemy: 'man', - chara: 'M', + chara: 'E', damage: 3, hit: 0.8, attackDelay: 2, @@ -3358,7 +3358,7 @@ Events.Setpieces = { 'a2': { combat: true, enemy: 'man', - chara: 'M', + chara: 'E', damage: 3, hit: 0.8, attackDelay: 2, @@ -3392,7 +3392,7 @@ Events.Setpieces = { 'a3': { combat: true, enemy: 'chief', - chara: 'C', + chara: 'D', damage: 5, hit: 0.8, attackDelay: 2, @@ -3468,7 +3468,7 @@ Events.Setpieces = { 'enter': { combat: true, enemy: 'beastly matriarch', - chara: 'M', + chara: 'T', damage: 4, hit: 0.8, attackDelay: 2,