laneya2

cave exploration game
git clone https://git.ce9e.org/laneya2.git

commit
17eaf7503c7a9c43193a8acdb0efc818b023ed3a
parent
262d1bd706db9acb2ab94622d310faf2c8f95a60
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2024-10-06 10:14
tweak items

Diffstat

M items.go 29 ++++++++++++++---------------

1 files changed, 14 insertions, 15 deletions


diff --git a/items.go b/items.go

@@ -55,18 +55,18 @@ var Items = map[string]Item{
   55    55 	// weapons
   56    56 	"Butterknive": {
   57    57 		Type:   WEAPON,
   58    -1 		Value:  30,
   -1    58 		Value:  50,
   59    59 		Attack: 1,
   60    60 	},
   61    61 	"Sword": {
   62    62 		Type:   WEAPON,
   63    -1 		Value:  100,
   64    -1 		Attack: 3,
   -1    63 		Value:  150,
   -1    64 		Attack: 4,
   65    65 	},
   66    66 	"Battleaxe": Item{
   67    67 		Type:   WEAPON,
   68    68 		Value:  500,
   69    -1 		Attack: 4,
   -1    69 		Attack: 6,
   70    70 		Speed:  -5,
   71    71 	},
   72    72 	"Daggers": Item{
@@ -78,13 +78,13 @@ var Items = map[string]Item{
   78    78 	"Sting": Item{
   79    79 		Type:        WEAPON,
   80    80 		Value:       400,
   81    -1 		Attack:      2,
   -1    81 		Attack:      3,
   82    82 		LineOfSight: 2,
   83    83 	},
   84    84 	"Shield": Item{
   85    85 		Type:    WEAPON,
   86    86 		Value:   300,
   87    -1 		Defense: 3,
   -1    87 		Defense: 6,
   88    88 	},
   89    89 
   90    90 	// armor
@@ -92,26 +92,26 @@ var Items = map[string]Item{
   92    92 		Type:    ARMOR,
   93    93 		Value:   100,
   94    94 		Defense: 2,
   95    -1 		Speed:   -5,
   -1    95 		Speed:   -1,
   96    96 	},
   97    97 	"Shining Armor": Item{
   98    98 		Type:        ARMOR,
   99    99 		Value:       500,
  100    -1 		Defense:     2,
   -1   100 		Defense:     3,
  101   101 		LineOfSight: 3,
  102   102 		Speed:       -5,
  103   103 	},
  104   104 	"Heavy Armor": Item{
  105   105 		Type:    ARMOR,
  106   106 		Value:   400,
  107    -1 		Defense: 3,
   -1   107 		Defense: 5,
  108   108 		Speed:   -10,
  109   109 	},
  110   110 	"Spiked Armor": Item{
  111   111 		Type:    ARMOR,
  112   112 		Value:   1000,
  113    -1 		Attack:  1,
  114    -1 		Defense: 2,
   -1   113 		Attack:  2,
   -1   114 		Defense: 3,
  115   115 		Speed:   -10,
  116   116 	},
  117   117 	"Cloak": Item{
@@ -122,10 +122,9 @@ var Items = map[string]Item{
  122   122 		Speed:       5,
  123   123 	},
  124   124 	"Body Oil": Item{
  125    -1 		Type:   ARMOR,
  126    -1 		Value:  750,
  127    -1 		Attack: 1,
  128    -1 		Speed:  10,
   -1   125 		Type:  ARMOR,
   -1   126 		Value: 750,
   -1   127 		Speed: 10,
  129   128 	},
  130   129 }
  131   130