<commit_before>EmperorsRetreatScreenPlay = ScreenPlay:new {
	numberOfActs = 1,
	
	screenplayName = "EmperorsRetreatScreenPlay",
}

registerScreenPlay("EmperorsRetreatScreenPlay", true)

function EmperorsRetreatScreenPlay:start()
	if (isZoneEnabled("naboo")) then
		self:spawnMobiles()
		self:spawnSceneObjects()	
	end
end

function EmperorsRetreatScreenPlay:spawnSceneObjects()
	local elevatorUp = spawnSceneObject("naboo", "object/tangible/terminal/terminal_elevator_up.iff", 13, 1, -36, 1418877, 1, 0, 0, 0)
	spawnSceneObject("naboo", "object/tangible/terminal/terminal_elevator_down.iff", 13, 21, -36, 1418877, 1, 0, 0, 0)
	
	if (elevatorUp ~= nil) then
		local terminal = LuaSceneObject(elevatorUp)
		terminal:setObjectMenuComponent("EmperorElevatorMenuComponent")
	end
end<commit_msg>[Fixed?] Issue With Emperor's Throne Room Elevator Mantis #4451<commit_after>EmperorsRetreatScreenPlay = ScreenPlay:new {
	numberOfActs = 1,
	
	screenplayName = "EmperorsRetreatScreenPlay",
}

registerScreenPlay("EmperorsRetreatScreenPlay", true)

function EmperorsRetreatScreenPlay:start()
	if (isZoneEnabled("naboo")) then
		self:spawnMobiles()
		self:spawnSceneObjects()	
	end
end

function EmperorsRetreatScreenPlay:spawnSceneObjects()
	local elevatorUp = spawnSceneObject("naboo", "object/tangible/terminal/terminal_elevator_up.iff", 13, 1, -36, 1418877, 1, 0, 0, 0)
	spawnSceneObject("naboo", "object/tangible/terminal/terminal_elevator_down.iff", 13, 20.5, -36, 1418877, 1, 0, 0, 0)

	if (elevatorUp ~= nil) then
		local terminal = LuaSceneObject(elevatorUp)
		terminal:setObjectMenuComponent("EmperorElevatorMenuComponent")
	end
end
{'fraction_non_alphanumeric': 0.11295273173726213, 'fraction_numerical': 0.044812768569674644, 'mean_word_length': 7.44559585492228, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3022529', 'n_tokens_mistral': 661, 'n_tokens_neox': 579, 'n_words': 109}