- 13
- Posts
- 2
- Years
- Seen Sep 17, 2022
I have created a new terrain where you can only pass if you have a bicycle on. Too bad he knows how to declare and I therefore only have the ground created which does nothing.
Anyone so kind who can take a few minutes to help me? if you want I pay you :(
Code:
module GameData
class TerrainTag
attr_reader :only_bike
def initialize(hash)
@only_bike = hash[:only_bike] || false
end
end
end
GameData::TerrainTag.register({
:id => :OnlyBike,
:id_number => 18,
:bridge => true,
:only_bike => true
})
Anyone so kind who can take a few minutes to help me? if you want I pay you :(