mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-11 23:24:59 +00:00
More or less standardised separator comments in the code
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
#===============================================================================
|
||||
#
|
||||
#===============================================================================
|
||||
module GameData
|
||||
class BerryPlant
|
||||
attr_reader :id
|
||||
@@ -9,14 +12,12 @@ module GameData
|
||||
DATA = {}
|
||||
DATA_FILENAME = "berry_plants.dat"
|
||||
PBS_BASE_FILENAME = "berry_plants"
|
||||
|
||||
SCHEMA = {
|
||||
"SectionName" => [:id, "m"],
|
||||
"HoursPerStage" => [:hours_per_stage, "v"],
|
||||
"DryingPerHour" => [:drying_per_hour, "u"],
|
||||
"Yield" => [:yield, "uv"]
|
||||
}
|
||||
|
||||
NUMBER_OF_REPLANTS = 9
|
||||
NUMBER_OF_GROWTH_STAGES = 4
|
||||
NUMBER_OF_FULLY_GROWN_STAGES = 4
|
||||
@@ -25,6 +26,8 @@ module GameData
|
||||
extend ClassMethodsSymbols
|
||||
include InstanceMethods
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
def initialize(hash)
|
||||
@id = hash[:id]
|
||||
@hours_per_stage = hash[:hours_per_stage] || 3
|
||||
|
||||
Reference in New Issue
Block a user