Reply To: [MOD] Cost Mod (made by Gwinda)

Home Forums Modding [MOD] Cost Mod (made by Gwinda) Reply To: [MOD] Cost Mod (made by Gwinda)

#21818
Theboss0104
Participant

I Keep getting this message that says

File: res/config/costs.lus

res/config/costs.lua:2: syntax error near char(147)

 

My file is like this:

function data()

require “cost_mod”

cost_mod.install()

return {

— per m^3

terrainRaise = 6.0,

terrainLower = 7.0,

 

railroadTrack = 50.0,– per m

railroadHighSpeedTrack = 80.0,– per m

railroadCatenary = 15.0,– per m

railroadSwitch = 5000.0,– per instance

railroadBridge = 10000.0,– per instance

railroadBridgeVol = 11.0,– per m^3

railroadTunnel = 25000.0,– per instance

railroadTunnelLen = 1000.0,– per m

 

— fraction of the road cost

roadBusLane = .1,

roadTramLane = .4,

}

end

I am also new to this stuff