Redone some code due to changes to DunGenPlus
Added audio to radios Made dungeon bigger but branch paths shorter Increased lighting chance
This commit is contained in:
parent
d382a3137d
commit
a46f833b27
9 changed files with 54 additions and 28 deletions
|
|
@ -0,0 +1,19 @@
|
|||
using DunGen;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ScarletMansion.GamePatch.FixValues
|
||||
{
|
||||
public class FixHallwayLightValueScaleVer: FixBaseClass<RandomPrefabWithScale> {
|
||||
public void Awake(){
|
||||
var weight = target.Props.Weights[1];
|
||||
var value = Plugin.CurrentConfigDungeon.GetHallwayLightsWeight;
|
||||
weight.MainPathWeight = value;
|
||||
weight.BranchPathWeight = value;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue