RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
VX ACS crafting system variable attachment

0 Members and 1 Guest are viewing this topic.

*
Rep: +0/-0Level 66
RulerOfRaka
So im working on this game with my cousins, were using the crafting system ACS, and wish to remove it from the menu until later in the game. we have tried attaching a variable to the switch and having an event activate the switch, but the script isn't set up to be attached to a variable and we get the error 

'Script 'Redefinitions' Line 27: NoMethodError Occurred.
undefined method '[]=' nil:NilClass

thats the error the coding i have for the switch is this

 #--------------------------------------------------------------------------
    # Set this to true if you want to disable the "crafting" entry in the menu
    #--------------------------------------------------------------------------
    @disableMenuChoice[0015] = true
   
    super
    create_menu_background
    if @disableMenuChoice
      oldCmdWindow
    else
      create_command_window
    end
    @gold_window = Window_Gold.new(0, 360)
    @status_window = Window_MenuStatus.new(160, 0)
  end


the varriable is an old man so we can have him teach you to craft

first it sets move rout to face you, he asks you if u want to learn to craft, if you choose yes it turns control switch 0015 on, if no it turns it off, i cant copy the text so i hope this helps, the 3 of us together cannot figure this out. i read that the author was going to fix a similar issue in the next version, but cant find any newer than 2.21 please help
"When life gives you lemons, dont make another stupid joke/pun about them"

***
Rep:
Level 74
I'm baaack!
I think Pacman made a menu script that you can add/remove menu options. If you don't want the classic feel you can use one of MA's menu scripts :P

*
my name is Timothy what's yours
Rep:
Level 79
Hello
2014 Best IRC Quote2014 Zero to Hero2014 Most Missed Member2012 Zero To HeroSecret Santa 2012 ParticipantContestant - GIAW 9For frequently finding and reporting spam and spam bots2011 Zero to Hero
Replace that with this
Code: [Select]
    @disableMenuChoice = $game_switches ? $game_switches[15] : true
   
    super
    create_menu_background
    if @disableMenuChoice
      oldCmdWindow
    else
      create_command_window
    end
    @gold_window = Window_Gold.new(0, 360)
    @status_window = Window_MenuStatus.new(160, 0)
  end
When the switch is on, it will function normally.
@X - I haven't implemented that feature exactly yet. I'm working on it.
it's like a metaphor or something i don't know