share/hedgewars/Data/Scripts/SpeedShoppa.lua
changeset 13583 141cdfe0f3ca
parent 13066 ad75ed9a1e15
child 13740 2bb7141496a9
equal deleted inserted replaced
13582:517b26009073 13583:141cdfe0f3ca
    47 	- hogHat:		hat of the hedgehog (default: "NoHat")
    47 	- hogHat:		hat of the hedgehog (default: "NoHat")
    48 	- hogName:		name of the hedgehog (default: "Roper")
    48 	- hogName:		name of the hedgehog (default: "Roper")
    49 	- teamName:		name of the hedgehog’s team (default: "Shoppers")
    49 	- teamName:		name of the hedgehog’s team (default: "Shoppers")
    50 	- teamGrave:		name of the hedgehog’s grave (default: "Statue")
    50 	- teamGrave:		name of the hedgehog’s grave (default: "Statue")
    51 	- teamFlag:		name of the team’s flag (default: "cm_shoppa")
    51 	- teamFlag:		name of the team’s flag (default: "cm_shoppa")
    52 	- clanColor:		color of the (only) clan (default: 0xFF0204, which is a red tone)
    52 	- clanColor:		color of the (only) clan (default: -1, default first clan color)
    53 	- goalText:		A short string explaining the goal of the mission
    53 	- goalText:		A short string explaining the goal of the mission
    54 				(default: "Use your rope to collect all crates as fast as possible.")
    54 				(default: "Use your rope to collect all crates as fast as possible.")
    55 	- faceLeft:		If true, the hog faces to the left initially, if false, it faces to the right.
    55 	- faceLeft:		If true, the hog faces to the left initially, if false, it faces to the right.
    56 				(default: false (=right))
    56 				(default: false (=right))
    57 	- crateType		Specify the type of crate (this has no gameplay effect), pick one of
    57 	- crateType		Specify the type of crate (this has no gameplay effect), pick one of
    76 	if params.hogHat == nil then params.hogHat = "NoHat" end
    76 	if params.hogHat == nil then params.hogHat = "NoHat" end
    77 	if params.hogName == nil then params.hogName = loc("Roper") end
    77 	if params.hogName == nil then params.hogName = loc("Roper") end
    78 	if params.teamName == nil then params.teamName = loc("Shoppers") end
    78 	if params.teamName == nil then params.teamName = loc("Shoppers") end
    79 	if params.goalText == nil then params.goalText = loc("Use your rope to collect all crates as fast as possible.") end
    79 	if params.goalText == nil then params.goalText = loc("Use your rope to collect all crates as fast as possible.") end
    80 	if params.missionTitle == nil then params.missionTitle = loc("Speed Shoppa") end
    80 	if params.missionTitle == nil then params.missionTitle = loc("Speed Shoppa") end
    81 	if params.clanColor == nil then params.clanColor = 0xFF0204 end
    81 	if params.clanColor == nil then params.clanColor = -1 end
    82 	if params.teamGrave == nil then params.teamGrave = "Statue" end
    82 	if params.teamGrave == nil then params.teamGrave = "Statue" end
    83 	if params.teamFlag == nil then params.teamFlag = "cm_shoppa" end
    83 	if params.teamFlag == nil then params.teamFlag = "cm_shoppa" end
    84 	if params.extra_onGameInit == nil then params.extra_onGameInit = function() end end
    84 	if params.extra_onGameInit == nil then params.extra_onGameInit = function() end end
    85 	if params.extra_onGameStart == nil then params.extra_onGameStart = function() end end
    85 	if params.extra_onGameStart == nil then params.extra_onGameStart = function() end end
    86 	if params.faceLeft == nil then params.faceLeft = false end
    86 	if params.faceLeft == nil then params.faceLeft = false end