Installer Steam
log på
|
sprog
简体中文 (forenklet kinesisk)
繁體中文 (traditionelt kinesisk)
日本語 (japansk)
한국어 (koreansk)
ไทย (thai)
Български (bulgarsk)
Čeština (tjekkisk)
Deutsch (tysk)
English (engelsk)
Español – España (spansk – Spanien)
Español – Latinoamérica (spansk – Latinamerika)
Ελληνικά (græsk)
Français (fransk)
Italiano (italiensk)
Bahasa indonesia (indonesisk)
Magyar (ungarsk)
Nederlands (hollandsk)
Norsk
Polski (polsk)
Português (portugisisk – Portugal)
Português – Brasil (portugisisk – Brasilien)
Română (rumænsk)
Русский (russisk)
Suomi (finsk)
Svenska (svensk)
Türkçe (tyrkisk)
Tiếng Việt (Vietnamesisk)
Українська (ukrainsk)
Rapporter et oversættelsesproblem






Instead of just adding things to the menu as it is, what you are doing is overwriting the base menu function.
Line 3: Events.OnFillWorldObjectContextMenu.Remove(ISBlacksmithMenu.doBuildMenu)
You're removing the entire current menu, then replacing it with the default menu with your additions.
What this means is if your mod is loaded after another mod that adds things to the menu, your mod overwrites them. Since your lua file is called Main.lua, that means it is overwriting half the alphabet.
This is unnecessary.
You can delete lines 127-137, and just do this instead:
local menu = context:getOptionFromName(getText("ContextMenu_MetalWelding"));
if menu then
local SubMenu = context:getSubMenu(menu.subOption);
local _firstTierMenu = SubMenu:addOption(getText('ContextMenu_ToriGarageDoors'), worldobjects, nil)
would be great if it did
Describe what exactly the problem is in more detail?