From 00153a7b914e62d08e9746c54fb89552c3df74d5 Mon Sep 17 00:00:00 2001 From: Daniel Asher Resnick Date: Thu, 29 Dec 2022 18:42:56 -0600 Subject: [PATCH] Remove settings from stock object --- src/lib/stock.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/lib/stock.rb b/src/lib/stock.rb index 094ffd1..31ac207 100644 --- a/src/lib/stock.rb +++ b/src/lib/stock.rb @@ -6,15 +6,13 @@ module Charred attr :name attr :stride attr :common_traits - attr :settings attr :starting_stats def initialize(h) @key = h["key"] - @name = h["name"] + @name = h["name"] || @key @stride = h["stride"] || @@default_stride @common_traits = h["common_traits"] - @settings = h["settings"] @starting_stats = h["starting_stats"] end @@ -24,7 +22,6 @@ module Charred "name" => name, "stride" => stride, "common_traits" => common_traits, - "settings" => settings, "starting_stats" => starting_stats } end