mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 00:01:54 +08:00
Laser rifles are now listed as weapons, fixing issue #37.
This commit is contained in:
@@ -423,6 +423,12 @@ var Room = {
|
||||
}
|
||||
},
|
||||
|
||||
MiscItems: {
|
||||
'laser rifle': {
|
||||
type: 'weapon'
|
||||
}
|
||||
},
|
||||
|
||||
name: "Room",
|
||||
init: function(options) {
|
||||
this.options = $.extend(
|
||||
@@ -733,6 +739,8 @@ var Room = {
|
||||
type = Room.Craftables[k].type;
|
||||
} else if(Room.TradeGoods[k]) {
|
||||
type = Room.TradeGoods[k].type;
|
||||
} else if (Room.MiscItems[k]) {
|
||||
type = Room.MiscItems[k].type;
|
||||
}
|
||||
|
||||
var location;
|
||||
|
||||
Reference in New Issue
Block a user